Skip to content

Commit 38941c0

Browse files
committed
added rspec-retry in order to resolve flaky specs
1 parent dc8b6d2 commit 38941c0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ end
3333

3434
group :test do
3535
gem "generator_spec"
36+
gem "rspec-retry" # repeating flaky tests
3637
end

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ GEM
190190
rspec-expectations (~> 3.8.0)
191191
rspec-mocks (~> 3.8.0)
192192
rspec-support (~> 3.8.0)
193+
rspec-retry (0.6.2)
194+
rspec-core (> 3.3)
193195
rspec-support (3.8.0)
194196
rubyzip (2.2.0)
195197
safe_yaml (1.0.5)
@@ -257,6 +259,7 @@ DEPENDENCIES
257259
pry-byebug
258260
puma
259261
rspec-rails (~> 3.8)
262+
rspec-retry
260263
selenium-webdriver (~> 3.142, >= 3.142.7)
261264
simplecov
262265
sqlite3 (~> 1.3.13)

0 commit comments

Comments
 (0)