summaryrefslogtreecommitdiff
path: root/spec/features/projects/show/user_interacts_with_stars_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/show/user_interacts_with_stars_spec.rb')
-rw-r--r--spec/features/projects/show/user_interacts_with_stars_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/show/user_interacts_with_stars_spec.rb b/spec/features/projects/show/user_interacts_with_stars_spec.rb
index 99f84c19bf3..aa61b629d92 100644
--- a/spec/features/projects/show/user_interacts_with_stars_spec.rb
+++ b/spec/features/projects/show/user_interacts_with_stars_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe 'Projects > Show > User interacts with project stars' do
find('.star-btn').click
- expect(current_path).to eq(new_user_session_path)
+ expect(page).to have_current_path(new_user_session_path, ignore_query: true)
end
end
end