osrm-backend/features/step_definitions/timestamp.rb
2014-11-17 14:58:34 +01:00

8 lines
249 B
Ruby

Then /^I should get a valid timestamp/ do
step "I should get a response"
step "response should be valid JSON"
step "response should be well-formed"
expect(@json['timestamp'].class).to eq(String)
expect(@json['timestamp']).to eq("n/a")
end