12 lines
334 B
12 lines
334 B
require "rails_helper" |
|
|
|
RSpec.describe StartController, type: :controller do |
|
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
|
|
|