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.
14 lines
364 B
14 lines
364 B
3 years ago
|
require "rails_helper"
|
||
|
|
||
|
# Test Controller intital test
|
||
|
RSpec.describe TestController, 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
|