Skip to content

Commit e873c87

Browse files
committed
trying rspec-retry
1 parent 3cd28b2 commit e873c87

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ docker-compose.local*
9191

9292
# Ignore python bytecode
9393
*.pyc
94+
rspec.failures

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ rvm:
1818
env:
1919
# TODO: restore these tests when the code passes them!
2020
# - CMD='bundle exec rake cucumber cucumber:boot CREATE_BINSTUBS=true'
21-
- CMD='bundle exec rake spec SPEC_OPTS="--tag content"'
22-
- CMD='bundle exec rake spec SPEC_OPTS="--tag ~content"'
21+
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"'
22+
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"'
2323

2424
matrix:
2525
fast_finish: true

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ group :development, :test do
3333
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
3434
# environment is development
3535
gem 'rspec-rails'
36+
gem 'rspec-rerun'
3637
end
3738

3839
group :test do

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ GEM
312312
rex-text
313313
rkelly-remix (0.0.7)
314314
robots (0.10.1)
315+
rspec (3.6.0)
316+
rspec-core (~> 3.6.0)
317+
rspec-expectations (~> 3.6.0)
318+
rspec-mocks (~> 3.6.0)
315319
rspec-core (3.6.0)
316320
rspec-support (~> 3.6.0)
317321
rspec-expectations (3.6.0)
@@ -328,6 +332,8 @@ GEM
328332
rspec-expectations (~> 3.6.0)
329333
rspec-mocks (~> 3.6.0)
330334
rspec-support (~> 3.6.0)
335+
rspec-rerun (1.1.0)
336+
rspec (~> 3.0)
331337
rspec-support (3.6.0)
332338
ruby_smb (0.0.18)
333339
bindata
@@ -381,6 +387,7 @@ DEPENDENCIES
381387
rake
382388
redcarpet
383389
rspec-rails
390+
rspec-rerun
384391
shoulda-matchers
385392
simplecov
386393
timecop

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Metasploit::Framework::Require.optionally_active_record_railtie
1111

1212
begin
1313
require 'rspec/core'
14+
require 'rspec-rerun/tasks'
1415
rescue LoadError
1516
puts "rspec not in bundle, so can't set up spec tasks. " \
1617
"To run specs ensure to install the development and test groups."

0 commit comments

Comments
 (0)