Permalink
Browse files

Let it be

  • Loading branch information...
1 parent 8f7136c commit b8c0db77eef2b387650f4fdd23bbcfe65766525f @sferik sferik committed with Jan 11, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/task_spec.rb
  2. +1 −1 spec/thor_spec.rb
View
@@ -48,7 +48,7 @@ def task(options={})
it "dup options hash" do
task = Thor::Task.new("can_has", nil, nil, nil, :foo => true, :bar => :required)
task.dup.options.delete(:foo)
- task.options[:foo].should_not be_nil
+ task.options[:foo].should be
end
end
View
@@ -61,7 +61,7 @@
end
it "adds a task to the tasks list if the updated task is on the parent class" do
- Scripts::MyScript.tasks["example_default_task"].should_not be_nil
+ Scripts::MyScript.tasks["example_default_task"].should be
end
it "clones the parent task" do

0 comments on commit b8c0db7

Please sign in to comment.