Skip to content

Commit

Permalink
Need to do less just to get snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 27, 2024
1 parent db4ae4c commit ea0bf3d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/features/activate_account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
describe "Activate account" do
include Devise::Test::IntegrationHelpers

context "with a confirmed user that has not been activated in the new design" do
context "when in the new design" do
before do
# Do this weird dance to get us on to the new theme
sign_in create(:confirmed_user, tailwind_theme: true)
visit root_path
sign_out :user

u = User.new(email: "[email protected]", from_alert_or_comment: true, confirmed_at: Time.zone.now)
u.skip_confirmation_notification!
u.save!(validate: false)
visit new_users_activation_path
end

Expand Down

0 comments on commit ea0bf3d

Please sign in to comment.