You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
334 B
13 lines
334 B
3 years ago
|
require "rails_helper"
|
||
|
|
||
3 years ago
|
RSpec.describe StartController, type: :controller do
|
||
3 years ago
|
let(:valid_session) { {} }
|
||
|
|
||
|
describe "GET #index" do
|
||
|
it "returns a success response" do
|
||
|
get :index, params: {}, session: valid_session
|
||
|
expect(response).to be_successful # be_successful expects a HTTP Status code of 200
|
||
|
end
|
||
|
end
|
||
|
end
|