E-mail preferences page
This commit is contained in:
parent
9b195f5dd3
commit
7a6d95f70c
13 changed files with 107 additions and 14 deletions
16
spec/controllers/settings/preferences_controller_spec.rb
Normal file
16
spec/controllers/settings/preferences_controller_spec.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Settings::PreferencesController, type: :controller do
|
||||
|
||||
before do
|
||||
sign_in Fabricate(:user), scope: :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