From 51f2643f407b90ba7014760ca02a12137cbecc62 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Tue, 31 Oct 2017 14:48:27 -0500 Subject: [PATCH] Style --- test/adapter/json_api/type_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/adapter/json_api/type_test.rb b/test/adapter/json_api/type_test.rb index 8e7fc259..32074e0d 100644 --- a/test/adapter/json_api/type_test.rb +++ b/test/adapter/json_api/type_test.rb @@ -138,12 +138,12 @@ module ActiveModelSerializers def test_for_type_with_id id = 1 actual = ResourceIdentifier.for_type_with_id('admin_user', id, {}) - expected = { id: "1", type: 'admin-users' } + expected = { id: '1', type: 'admin-users' } assert_equal actual, expected end def test_for_type_with_id_given_blank_id - id = "" + id = '' actual = ResourceIdentifier.for_type_with_id('admin_user', id, {}) expected = { type: 'admin-users' } assert_equal actual, expected @@ -154,7 +154,7 @@ module ActiveModelSerializers actual = with_jsonapi_inflection :singular do ResourceIdentifier.for_type_with_id('admin_users', id, {}) end - expected = { id: "2", type: 'admin-user' } + expected = { id: '2', type: 'admin-user' } assert_equal actual, expected end