Adding simple_form, adding profile settings, header image
This commit is contained in:
parent
1aa477ac2f
commit
3441361568
21 changed files with 344 additions and 4 deletions
16
spec/controllers/settings_controller_spec.rb
Normal file
16
spec/controllers/settings_controller_spec.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe SettingsController, type: :controller do
|
||||
|
||||
before do
|
||||
sign_in :user, Fabricate(:user)
|
||||
end
|
||||
|
||||
describe "GET #show" do
|
||||
it "returns http success" do
|
||||
get :show
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue