Sha256: 2de2b85252b1bdbc5d79355dae0b8670da1a33904bdde98666118b8ac48021b5
Contents?: true
Size: 1005 Bytes
Versions: 19
Compression:
Stored size: 1005 Bytes
Contents
#------------------------------------------------------------ # Hooks #------------------------------------------------------------ # Unsafe tags specify that a test modifies (writes or deletes) # actual data in VirtualBox. Around('@unsafe') do |scenario, block| block.call if IntegrationInfo[:test_unsafe] end Around('@pending') do |scenario, block| # Don't run the block end #------------------------------------------------------------ # Warning/Info messages about settings. #------------------------------------------------------------ if !IntegrationInfo[:test_unsafe] puts <<-MSG ======================================================================== For your own safety, unsafe tests (tests which modify actual VirtualBox data), are disabled unless the environmental variable TEST_UNSAFE is set. To enable unsafe tests, the easiest way is to do the following: TEST_UNSAFE=yes rake test:integration ======================================================================== MSG end
Version data entries
19 entries across 19 versions & 3 rubygems