diff --git a/spec/integration/ping_spec.cr b/spec/integration/ping_spec.cr new file mode 100644 index 0000000..24f1d7e --- /dev/null +++ b/spec/integration/ping_spec.cr @@ -0,0 +1,10 @@ +require "../spec_helper" + +describe App::Controllers::Ping do + it "should return pong" do + get "/api/ping" + + expected = {"pong" => "ok"}.to_json + response.body.should eq(expected) + end +end