diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-17 14:59:48 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-17 14:59:48 -0700 |
commit | 2eecc0d8dccf7f12518e05a72192eb853e5ee474 (patch) | |
tree | de76f75c8910d0eafcd1f80e209e0314243b5edb /activerecord/test | |
parent | 677b64fcd527529390e232ceedf8fa8bfac224e2 (diff) | |
download | rails-2eecc0d8dccf7f12518e05a72192eb853e5ee474.tar.gz rails-2eecc0d8dccf7f12518e05a72192eb853e5ee474.tar.bz2 rails-2eecc0d8dccf7f12518e05a72192eb853e5ee474.zip |
include bind values from the default scope
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/relation_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/activerecord/test/cases/relation_test.rb b/activerecord/test/cases/relation_test.rb index 482c1b3d48..03c7009568 100644 --- a/activerecord/test/cases/relation_test.rb +++ b/activerecord/test/cases/relation_test.rb @@ -12,10 +12,7 @@ module ActiveRecord end def test_construction - relation = nil - assert_nothing_raised do - relation = Relation.new FakeKlass, :b - end + relation = Relation.new FakeKlass, :b assert_equal FakeKlass, relation.klass assert_equal :b, relation.table assert !relation.loaded, 'relation is not loaded' |