diff --git a/features/backwards.feature b/features/backwards.feature index ef7337e..5309c3d 100644 --- a/features/backwards.feature +++ b/features/backwards.feature @@ -23,6 +23,6 @@ Feature: Backwards compatibility When I run `todotxt --file=done` Then it should pass with exactly: """ - ERROR: You are using an old config, which has no support for mulitple files. Please update your configuration. + ERROR: You are using an old config, which has no support for multiple files. Please update your configuration. """ diff --git a/features/support/debugger.rb b/features/support/debugger.rb deleted file mode 100644 index ae24f9a..0000000 --- a/features/support/debugger.rb +++ /dev/null @@ -1 +0,0 @@ -require "debugger" diff --git a/lib/todotxt/todolist.rb b/lib/todotxt/todolist.rb index 57615bb..6fc3ec0 100644 --- a/lib/todotxt/todolist.rb +++ b/lib/todotxt/todolist.rb @@ -6,7 +6,7 @@ module Todotxt class TodoList include Enumerable - attr_reader :todos + attr_accessor :todos # @INK: refactor TodoList and TodoFile # So that TodoFile contains all IO ad List is no longer dependent on file.