1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Land #8594, rspec-retry Heisenspec fix

This commit is contained in:
William Vu 2017-06-21 19:57:57 -05:00
commit 3293a8fe67
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
5 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -91,3 +91,4 @@ docker-compose.local*
# Ignore python bytecode
*.pyc
rspec.failures

View File

@ -18,8 +18,8 @@ rvm:
env:
# TODO: restore these tests when the code passes them!
# - CMD='bundle exec rake cucumber cucumber:boot CREATE_BINSTUBS=true'
- CMD='bundle exec rake spec SPEC_OPTS="--tag content"'
- CMD='bundle exec rake spec SPEC_OPTS="--tag ~content"'
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"'
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"'
matrix:
fast_finish: true

View File

@ -33,6 +33,7 @@ group :development, :test do
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
# environment is development
gem 'rspec-rails'
gem 'rspec-rerun'
end
group :test do

View File

@ -312,6 +312,10 @@ GEM
rex-text
rkelly-remix (0.0.7)
robots (0.10.1)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-core (3.6.0)
rspec-support (~> 3.6.0)
rspec-expectations (3.6.0)
@ -328,6 +332,8 @@ GEM
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-support (~> 3.6.0)
rspec-rerun (1.1.0)
rspec (~> 3.0)
rspec-support (3.6.0)
ruby_smb (0.0.18)
bindata
@ -381,6 +387,7 @@ DEPENDENCIES
rake
redcarpet
rspec-rails
rspec-rerun
shoulda-matchers
simplecov
timecop

View File

@ -11,6 +11,7 @@ Metasploit::Framework::Require.optionally_active_record_railtie
begin
require 'rspec/core'
require 'rspec-rerun/tasks'
rescue LoadError
puts "rspec not in bundle, so can't set up spec tasks. " \
"To run specs ensure to install the development and test groups."