From 04f8c0c16fa2dabb369146fac4ea621fd2a8b4fc Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 24 Oct 2013 13:37:15 -0200 Subject: [PATCH] Those are config tests --- test/unit/active_model/serializer/config_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/active_model/serializer/config_test.rb b/test/unit/active_model/serializer/config_test.rb index 0a88cfb7..57cca5fa 100644 --- a/test/unit/active_model/serializer/config_test.rb +++ b/test/unit/active_model/serializer/config_test.rb @@ -30,7 +30,7 @@ module ActiveModel end end - class SetupTest < ActiveModel::TestCase + class ConfigTest < ActiveModel::TestCase def test_setup ActiveModel::Serializer.setup do |config| config.a = 'v1' @@ -43,7 +43,7 @@ module ActiveModel CONFIG.clear end - def test_setup_config_accessors + def test_config_accessors ActiveModel::Serializer.setup do |config| config.foo = 'v1' config.bar = 'v2' @@ -55,7 +55,7 @@ module ActiveModel CONFIG.clear end - def test_setup_acessor_when_nil + def test_acessor_when_nil assert_nil CONFIG.foo CONFIG.foo = 1 assert_equal 1, CONFIG.foo