WIP adding controller specs base
This commit is contained in:
parent
5e96efe10d
commit
3ac59d60a9
1 changed files with 12 additions and 0 deletions
12
spec/controllers/home_controller_spec.rb
Normal file
12
spec/controllers/home_controller_spec.rb
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'spec_helper'
|
||||||
|
|
||||||
|
describe HomeController do
|
||||||
|
describe "GET profile" do
|
||||||
|
it 'shows dashboard for logged in user' do
|
||||||
|
get :my_profile
|
||||||
|
expect(response).to have_http_status(:success)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue