* WIP Rename categories and make consistency card titles * Add rest of sections to Extensions page * icons * Reshuffle Integrations and remove unnecessary Integrations tab in controller * Update rspec tests * Fix specs Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com> Co-authored-by: rhymes <rhymes@hey.com>
21 lines
488 B
Ruby
21 lines
488 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe "User edits their Customization settings", type: :system do
|
|
let(:user) { create(:user) }
|
|
|
|
before do
|
|
sign_in user
|
|
|
|
visit user_settings_path(:customization)
|
|
end
|
|
|
|
describe "visiting Customization section" do
|
|
it "makes the 'Save Button' footer sticky once a theme is selected", js: true do
|
|
expect(page).not_to have_css(".sticky")
|
|
|
|
choose("Ten X Hacker Theme")
|
|
|
|
expect(page).to have_css(".sticky")
|
|
end
|
|
end
|
|
end
|