diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/concerns/boards_responses_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/concerns/boards_responses_spec.rb b/spec/controllers/concerns/boards_responses_spec.rb index c080ddf896f..bdebdf94761 100644 --- a/spec/controllers/concerns/boards_responses_spec.rb +++ b/spec/controllers/concerns/boards_responses_spec.rb @@ -17,7 +17,7 @@ describe BoardsResponses do it 'serializes properly' do expected = { "id" => board.id } - expect(JSON.parse(subject.serialize_as_json(board))).to include(expected) + expect(subject.serialize_as_json(board)).to include(expected) end end end |