mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56:50 +00:00
commit
81080c230e
@ -11,6 +11,7 @@ gemfile:
|
|||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- gemfile: Gemfile.edge
|
- gemfile: Gemfile.edge
|
||||||
|
- rvm: jruby-19mode
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
campfire:
|
campfire:
|
||||||
|
|||||||
@ -58,7 +58,7 @@ module ActiveModel
|
|||||||
def test_setup_acessor_when_nil
|
def test_setup_acessor_when_nil
|
||||||
assert_nil CONFIG.foo
|
assert_nil CONFIG.foo
|
||||||
CONFIG.foo = 1
|
CONFIG.foo = 1
|
||||||
assert 1, CONFIG.foo
|
assert_equal 1, CONFIG.foo
|
||||||
assert_nil CONFIG.bar
|
assert_nil CONFIG.bar
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user