Skip to content

Commit ea424e1

Browse files
committed
Fix Rails 4.2 build
1 parent 1b2a3ca commit ea424e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/config/show/rails_admin_config_show_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def do_request
2222
end
2323

2424
it 'contains the JSONified object' do
25-
expect(body).to include(@player.reload.to_json)
25+
expect(JSON.parse(body)).to eq JSON.parse @player.to_json
2626
end
2727
end
2828

0 commit comments

Comments
 (0)