diff --git a/spec/features/admin/add_user_to_workshop_spec.rb b/spec/features/admin/add_user_to_workshop_spec.rb index 08ca255f2..3f9803567 100644 --- a/spec/features/admin/add_user_to_workshop_spec.rb +++ b/spec/features/admin/add_user_to_workshop_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe 'Add a user to an existing workshop', :js do +RSpec.describe 'Add a user to an existing workshop' do let(:member) { Fabricate(:member) } let!(:juliet) { Fabricate(:member, name: 'Juliet', surname: 'Capulet') } diff --git a/spec/features/admin/manage_workshop_attendances_spec.rb b/spec/features/admin/manage_workshop_attendances_spec.rb index 9bfffdec1..c67acfc07 100644 --- a/spec/features/admin/manage_workshop_attendances_spec.rb +++ b/spec/features/admin/manage_workshop_attendances_spec.rb @@ -64,7 +64,7 @@ expect(page).to have_css('i.fa-hat-wizard') end - scenario 'can rsvp an invited student to the workshop', :js do + scenario 'can rsvp an invited student to the workshop' do login_as_admin(member) other_invitation = Fabricate(:workshop_invitation, workshop:, attending: nil) diff --git a/spec/features/viewing_pages_spec.rb b/spec/features/viewing_pages_spec.rb index 987a5801e..13a78971b 100644 --- a/spec/features/viewing_pages_spec.rb +++ b/spec/features/viewing_pages_spec.rb @@ -15,7 +15,7 @@ expect(page).to have_text('Your privacy means a lot to us') end - scenario 'can access page not found', :js do + scenario 'can access page not found' do visit '/does_not_exist' expect(page).to have_text('Page not found')