Permalink
Browse files

fix test

  • Loading branch information...
1 parent d54b09e commit fe150f26f009cef370658b7c19db1629b2448952 @jonleighton jonleighton committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/default_scope_test.rb
@@ -30,6 +30,6 @@
it 'works with a block that returns a hash' do
@klass.default_scope { { conditions: { id: 1 } } }
- assert_deprecated { @klass.to_a }.map(&:id).must_equal [1]
+ assert_deprecated { @klass.all.to_a }.map(&:id).must_equal [1]
end
end

0 comments on commit fe150f2

Please sign in to comment.