Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clarify name

  • Loading branch information...
commit cbd7abc96d4f3ad3f3ccb126b13b311d82cbd826 1 parent eae3458
@garybernhardt authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 spec/do_not_want_spec.rb
  2. +1 −1  spec/gems/fake_gem.rb
View
4 spec/do_not_want_spec.rb
@@ -34,12 +34,12 @@ def die!
it "ignores calls from gems" do
walrus.should_receive(:die!)
expect do
- kill_walrus(walrus)
+ kill_walrus_from_gem(walrus)
end.not_to raise_error
end
it "passes arguments" do
- kill_walrus(walrus).should == 'killed by kitty because kitty is angry'
+ kill_walrus_from_gem(walrus).should == 'killed by kitty because kitty is angry'
end
end
end
View
2  spec/gems/fake_gem.rb
@@ -1,4 +1,4 @@
-def kill_walrus(walrus)
+def kill_walrus_from_gem(walrus)
walrus.be_killed_by!('kitty', 'kitty is angry')
end
Please sign in to comment.
Something went wrong with that request. Please try again.