Skip to content

Commit d5491c9

Browse files
committed
Force reload to truncate subseconds
1 parent ea424e1 commit d5491c9

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(JSON.parse(body)).to eq JSON.parse @player.to_json
25+
expect(JSON.parse(body)).to eq JSON.parse @player.reload.to_json
2626
end
2727
end
2828

0 commit comments

Comments
 (0)