Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Let it be

  • Loading branch information...
commit b8c0db77eef2b387650f4fdd23bbcfe65766525f 1 parent 8f7136c
@sferik sferik authored committed
Showing with 2 additions and 2 deletions.
  1. +1 −1  spec/task_spec.rb
  2. +1 −1  spec/thor_spec.rb
View
2  spec/task_spec.rb
@@ -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
2  spec/thor_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.