summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-07-31 15:00:29 -0700
committerdanielsdeleo <dan@opscode.com>2013-08-01 09:43:37 -0700
commit80c5a1128eb8f6d0629345a25e661bef9f73c22a (patch)
treede3399c0273fc0a676db2e833d9789abeab98d84
parente61bafc50095494ffaac0a0d4e1369427aa39303 (diff)
downloadchef-80c5a1128eb8f6d0629345a25e661bef9f73c22a.tar.gz
Standardize on `:arch` for architecture-based filtering
Fixes test failures on 32 bit platforms by correctly filtering 64 bit-only tests
-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 c38c7da8ea..e66f320151 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -120,7 +120,7 @@ RSpec.configure do |config|
running_platform_arch = `uname -m`.strip
- config.filter_run_excluding :architecture => lambda {|target_arch|
+ config.filter_run_excluding :arch => lambda {|target_arch|
running_platform_arch != target_arch
}