add controller tests

This commit is contained in:
Josh
2018-06-25 15:49:56 -04:00
parent 7c6174edc5
commit df90f4aade
5 changed files with 133 additions and 5 deletions

View File

@ -0,0 +1,11 @@
require "rails_helper"
describe MainController, type: :controller do
describe "GET #index" do
it "returns success" do
get :index
expect(response).to be_successful
end
end
end