Skip to content

Commit 1004835

Browse files
committed
Update capyabra dependency and adjust password_reset_spec
The solidus_dev_support requirement from the previous commit includes an implicit dependency on a higher version of capybara than we currently support. The update is trivial and only requires one small whitespace related change for a have_content assertion.
1 parent 1b57727 commit 1004835

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

solidus_auth_devise.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
3535
s.add_dependency "solidus_support", ">= 0.1.3"
3636
s.add_dependency "deface", "~> 1.0"
3737

38-
s.add_development_dependency "capybara", "~> 2.14"
38+
s.add_development_dependency "capybara", "~> 3.30"
3939
s.add_development_dependency "capybara-screenshot"
4040
s.add_development_dependency "coffee-rails"
4141
s.add_development_dependency "database_cleaner", "~> 1.6"

spec/features/admin/password_reset_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def fill_in_email
6969

7070
click_button 'Reset password'
7171
expect(page).to have_content(
72-
'If an account with that email address exists,
73-
you will receive an email with instructions about
74-
how to reset your password in a few minutes.'
72+
'If an account with that email address exists, '\
73+
'you will receive an email with instructions about '\
74+
'how to reset your password in a few minutes.'
7575
)
7676
end
7777
end

0 commit comments

Comments
 (0)