Permalink
Browse files

Use the null object, rather than re-assigning another double

  • Loading branch information...
1 parent 5897343 commit 9a095fbbba49733503af1ce9ec95b1f649cb1cc7 @nruth nruth committed Feb 2, 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 9a095fb

Please sign in to comment.