diff options
Diffstat (limited to 'test/integration/server_test.rb')
| -rw-r--r-- | test/integration/server_test.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/server_test.rb b/test/integration/server_test.rb new file mode 100644 index 0000000..3ca8b72 --- /dev/null +++ b/test/integration/server_test.rb @@ -0,0 +1,14 @@ +class ServerTest < Minitest::Test + include Rack::Test::Methods + + def app + Server.new + end + + def test_get + get '/' + + assert_equal 200, last_response.status + assert_empty last_response.body + end +end |
