Permalink
Browse files

Merge pull request #104 from nruth/patch-1

Use the null object, rather than re-assigning another double
  • Loading branch information...
2 parents 5897343 + 9a095fb commit f9997705877b7865076a21c9e97e70661578eb06 @dchelimsky dchelimsky committed Feb 3, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 features/method_stubs/as_null_object.feature
@@ -27,7 +27,6 @@ Feature: as_null_object
end
it "supports Array#flatten" do
- null_object = double('foo')
[null_object].flatten.should eq([null_object])
end
end

0 comments on commit f999770

Please sign in to comment.