13 lines
238 B
Ruby
13 lines
238 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe HomeController, type: :controller do
|
||
|
|
||
|
describe "GET #index" do
|
||
|
it "returns http success" do
|
||
|
get :index
|
||
|
expect(response).to have_http_status(:success)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|