Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9a095fbbba49733503af1ce9ec95b1f649cb1cc7 1 parent 5897343
@nruth nruth authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  features/method_stubs/as_null_object.feature
View
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.
Something went wrong with that request. Please try again.