mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 10:14:59 +00:00
Remove new line from the matcher
This commit is contained in:
@@ -11,8 +11,7 @@ RSpec.describe HeartbeatsController, type: :controller do
|
|||||||
it "Respond with next heartbeat time" do
|
it "Respond with next heartbeat time" do
|
||||||
post :create, format: :json
|
post :create, format: :json
|
||||||
expect(response).to have_http_status(:created)
|
expect(response).to have_http_status(:created)
|
||||||
expect(JSON.parse(response.body)["next_heartbeat_time"]).to
|
expect(JSON.parse(response.body)["next_heartbeat_time"]).to match(heartbeat.next_heartbeat_time)
|
||||||
match(heartbeat.next_heartbeat_time)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user