diff --git a/.travis.yml b/.travis.yml index fd881a3a..19f67cc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ gemfile: matrix: allow_failures: - gemfile: Gemfile.edge + - rvm: jruby-19mode notifications: email: false campfire: diff --git a/test/unit/active_model/serializer/config_test.rb b/test/unit/active_model/serializer/config_test.rb index 481a3f15..0a88cfb7 100644 --- a/test/unit/active_model/serializer/config_test.rb +++ b/test/unit/active_model/serializer/config_test.rb @@ -58,7 +58,7 @@ module ActiveModel def test_setup_acessor_when_nil assert_nil CONFIG.foo CONFIG.foo = 1 - assert 1, CONFIG.foo + assert_equal 1, CONFIG.foo assert_nil CONFIG.bar end end