diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-10-17 16:44:16 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-10-17 16:44:16 +0200 |
commit | bae2292d8f32eb6e3c67a0ca57bd6053648d82c3 (patch) | |
tree | e73d49d0e787e4dd08edaacd0cd16ac746d48669 /activerecord/test/cases/relation/where_test.rb | |
parent | a5e1bc813b6449d89a3bbf1f0733b386c0537b72 (diff) | |
parent | 3973a4830753557b08999341bef86a6a6671b96d (diff) | |
download | rails-bae2292d8f32eb6e3c67a0ca57bd6053648d82c3.tar.gz rails-bae2292d8f32eb6e3c67a0ca57bd6053648d82c3.tar.bz2 rails-bae2292d8f32eb6e3c67a0ca57bd6053648d82c3.zip |
Merge pull request #21982 from yui-knk/test_suppress_warning
Suppress warnings of `assigned but unused variable`
Diffstat (limited to 'activerecord/test/cases/relation/where_test.rb')
-rw-r--r-- | activerecord/test/cases/relation/where_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/relation/where_test.rb b/activerecord/test/cases/relation/where_test.rb index 399a4dbbf1..bc6378b90e 100644 --- a/activerecord/test/cases/relation/where_test.rb +++ b/activerecord/test/cases/relation/where_test.rb @@ -304,8 +304,6 @@ module ActiveRecord end def test_where_with_unsupported_arguments - author = authors(:david) - assert_raises(ArgumentError) { Author.where(42) } end end |