Prevent running acceptance specs from outside a dev machine
This commit is contained in:
parent
ae46fff7c0
commit
a1c19371c6
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
require 'spec_helper'
|
||||
|
||||
unless ENV['USER'] == 'vagrant'
|
||||
puts 'Acceptance specs are supposed to run from one of the vagrant dev machines'
|
||||
exit 1
|
||||
end
|
||||
|
||||
if defined? SimpleCov
|
||||
SimpleCov.command_name 'acceptance'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue