summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorsiddheshwar-more <siddheshwar.more@clogeny.com>2013-07-23 17:22:29 +0530
committeradamedx <adamed@opscode.com>2013-09-03 15:28:49 -0700
commit87847707a6a5fde3cb7986a985b616662c527645 (patch)
treed4d85206f0c9af1d3a31091ae57fb281739b1d5a /spec/spec_helper.rb
parent3a5cca14ad4fd9770a0131ebf892454bbb7a88eb (diff)
downloadchef-87847707a6a5fde3cb7986a985b616662c527645.tar.gz
Incorporated review comments for group resource functional tests
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 6f6e98c187..787a8a159d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -115,7 +115,7 @@ RSpec.configure do |config|
config.filter_run_excluding :ruby_gte_19_only => true unless ruby_gte_19?
config.filter_run_excluding :ruby_20_only => true unless ruby_20?
config.filter_run_excluding :ruby_gte_20_only => true unless ruby_gte_20?
- config.filter_run_excluding :requires_root => true unless ENV['USER'] == 'root' || ENV['LOGIN'] == 'root' || ENV['USER'] == 'Administrator'
+ config.filter_run_excluding :requires_root => true unless ENV['USER'] == 'root' || ENV['LOGIN'] == 'root'
config.filter_run_excluding :requires_root_or_running_windows => true unless (ENV['USER'] == 'root' or windows?)
config.filter_run_excluding :requires_unprivileged_user => true if ENV['USER'] == 'root'
config.filter_run_excluding :uses_diff => true unless has_diff?