Skip to content

Commit 145c9a7

Browse files
committed
add static controller test
1 parent 0eb074d commit 145c9a7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

spec/requests/static_spec.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
require 'rails_helper'
2+
3+
describe StaticController, type: :request do
4+
describe 'GET #home' do
5+
before { get root_path }
6+
7+
it 'returns a successful response' do
8+
expect(response).to have_http_status(:ok)
9+
end
10+
end
11+
end

0 commit comments

Comments
 (0)