diff --git a/spec/features/issues/issues_spec.rb b/spec/features/issues/issues_spec.rb index a53be93..2c3cb91 100644 --- a/spec/features/issues/issues_spec.rb +++ b/spec/features/issues/issues_spec.rb @@ -1,7 +1,7 @@ require 'rails_helper' feature 'Issues' do - let!(:user) { create :user } + let!(:user) { create :user } scenario 'creation' do sign_in_as user diff --git a/spec/features/users/case_insensitive_login_spec.rb b/spec/features/users/case_insensitive_login_spec.rb index 0084a6f..6073b21 100755 --- a/spec/features/users/case_insensitive_login_spec.rb +++ b/spec/features/users/case_insensitive_login_spec.rb @@ -12,7 +12,7 @@ feature "Case insensitive login", js: :true do feature "when a user with mixed-case username signs in" do scenario "with a matching case allows the user to sign in" do fill_login_form(username) - click_button submit(:user, :login) + find('.login input').trigger('click') expect(page).to have_content(I18n.t("login_successful")) @@ -23,7 +23,7 @@ feature "Case insensitive login", js: :true do scenario "with a non-matching case allows the user to sign in" do fill_login_form("CASE_INSENSITIVE") - click_button submit(:user, :login) + find('.login input').trigger('click') expect(page).to have_content(I18n.t("login_successful")) diff --git a/spec/features/users/stream_spec.rb b/spec/features/users/stream_spec.rb index 506c04b..18733e1 100755 --- a/spec/features/users/stream_spec.rb +++ b/spec/features/users/stream_spec.rb @@ -8,8 +8,7 @@ feature "User Stream Information" do scenario "user updates their stream" do visit user_path(user) expect(page.html).to_not include("