diff options
author | Thom May <thom@may.lt> | 2016-10-07 12:38:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-07 12:38:51 +0100 |
commit | 7f33f2b2f47f95beb485123f01469dbe2034d35b (patch) | |
tree | ac16d9c20bb63ff10217505961b9b6c5cea6de16 /spec/spec_helper.rb | |
parent | c452a2159d92009fd1d17b82b682be54d5dd745c (diff) | |
parent | 5b42bca5f16ded4df1b7f736e08284ae90ce30ac (diff) | |
download | mixlib-shellout-7f33f2b2f47f95beb485123f01469dbe2034d35b.tar.gz |
Merge pull request #130 from chef/ruby22
Require Ruby 2.2 and use chefstyle
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b84b302..e1d530d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,15 +1,14 @@ $:.unshift File.expand_path("../../lib", __FILE__) $:.unshift File.expand_path("../..", __FILE__) -require 'mixlib/shellout' - -require 'tmpdir' -require 'tempfile' -require 'timeout' +require "mixlib/shellout" +require "tmpdir" +require "tempfile" +require "timeout" # Load everything from spec/support # Do not change the gsub. -Dir["spec/support/**/*.rb"].map { |f| f.gsub(%r{.rb$}, '') }.each { |f| require f } +Dir["spec/support/**/*.rb"].map { |f| f.gsub(%r{.rb$}, "") }.each { |f| require f } RSpec.configure do |config| config.mock_with :rspec |