forgeplus/spec/controllers/home_controller_spec.rb

13 lines
238 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
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