Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,4 @@ jobs:
bundler-cache: true

- name: Run tests
run: |
bundle exec rspec
run: bundle exec rspec
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gem "pry-byebug", "~> 3.11"
gem "puma", "~> 6.6"
gem "rails", "~> 8.0"
gem "rspec-rails", "~> 8.0"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ GEM
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.13.4)
rubocop (1.79.1)
json (~> 2.3)
Expand Down Expand Up @@ -351,6 +353,7 @@ DEPENDENCIES
puma (~> 6.6)
rails (~> 8.0)
rspec-rails (~> 8.0)
rspec-retry
rubocop (~> 1.79)
rubocop-rails (~> 2.32)
rubocop-rspec (~> 3.6)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/devise_5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.10"
gem "puma", "~> 6.6"
gem "rails", ">= 7.1"
gem "rspec-rails", ">= 7.1"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.10"
gem "puma", "~> 6.6"
gem "rails", "~> 7.1.x"
gem "rspec-rails", "~> 7.1"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.11"
gem "puma", "~> 6.6"
gem "rails", "~> 7.2.x"
gem "rspec-rails", "~> 8.0"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.11"
gem "puma", "~> 6.6"
gem "rails", "~> 8.0.x"
gem "rspec-rails", "~> 8.0"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_8_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.11"
gem "puma", "~> 6.6"
gem "rails", "~> 8.1.x"
gem "rspec-rails", "~> 8.0"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem "pry-byebug", "~> 3.11"
gem "puma", "~> 6.6"
gem "rails", branch: "main", git: "https://github.com/rails/rails"
gem "rspec-rails", "~> 8.0"
gem "rspec-retry"
gem "rubocop", "~> 1.79"
gem "rubocop-rails", "~> 2.32"
gem "rubocop-rspec", "~> 3.6"
Expand Down
7 changes: 7 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
end

require "rspec/rails"
require "rspec/retry"
require "capybara/rspec"

RSpec.configure do |config|
Expand Down Expand Up @@ -48,4 +49,10 @@
config.include Devise::Test::IntegrationHelpers, type: :system
config.include Devise::Test::IntegrationHelpers, type: :request
config.include Devise::Webauthn::Test::AuthenticatorHelpers, type: :system

config.verbose_retry = true
config.display_try_failure_messages = true
config.around :each, type: :system do |ex|
ex.run_with_retry retry: 3
end
end