File tree Expand file tree Collapse file tree 5 files changed +12
-2
lines changed Expand file tree Collapse file tree 5 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -91,3 +91,4 @@ docker-compose.local*
91
91
92
92
# Ignore python bytecode
93
93
* .pyc
94
+ rspec.failures
Original file line number Diff line number Diff line change 18
18
env :
19
19
# TODO: restore these tests when the code passes them!
20
20
# - 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"'
23
23
24
24
matrix :
25
25
fast_finish : true
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ group :development, :test do
33
33
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
34
34
# environment is development
35
35
gem 'rspec-rails'
36
+ gem 'rspec-rerun'
36
37
end
37
38
38
39
group :test do
Original file line number Diff line number Diff line change 312
312
rex-text
313
313
rkelly-remix (0.0.7 )
314
314
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 )
315
319
rspec-core (3.6.0 )
316
320
rspec-support (~> 3.6.0 )
317
321
rspec-expectations (3.6.0 )
328
332
rspec-expectations (~> 3.6.0 )
329
333
rspec-mocks (~> 3.6.0 )
330
334
rspec-support (~> 3.6.0 )
335
+ rspec-rerun (1.1.0 )
336
+ rspec (~> 3.0 )
331
337
rspec-support (3.6.0 )
332
338
ruby_smb (0.0.18 )
333
339
bindata
@@ -381,6 +387,7 @@ DEPENDENCIES
381
387
rake
382
388
redcarpet
383
389
rspec-rails
390
+ rspec-rerun
384
391
shoulda-matchers
385
392
simplecov
386
393
timecop
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Metasploit::Framework::Require.optionally_active_record_railtie
11
11
12
12
begin
13
13
require 'rspec/core'
14
+ require 'rspec-rerun/tasks'
14
15
rescue LoadError
15
16
puts "rspec not in bundle, so can't set up spec tasks. " \
16
17
"To run specs ensure to install the development and test groups."
You can’t perform that action at this time.
0 commit comments