Skip to content

Commit

Permalink
Merge pull request #6 from jameswnl/spec-incl
Browse files Browse the repository at this point in the history
Load shared examples and vcr cassettes from self
  • Loading branch information
Fryguy authored Jun 22, 2017
2 parents 251f0fa + 0c40005 commit bef0859
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
end

# Uncomment in case you use vcr cassettes
#VCR.configure do |config|
# config.ignore_hosts 'codeclimate.com' if ENV['CI']
# config.cassette_library_dir = File.join(ManageIQ::Providers::AnsibleTower::Engine.root, 'spec/vcr_cassettes')
#end
VCR.configure do |config|
config.ignore_hosts 'codeclimate.com' if ENV['CI']
config.cassette_library_dir = File.join(ManageIQ::Providers::AnsibleTower::Engine.root, 'spec/vcr_cassettes')
end

Dir[Rails.root.join("spec/shared/**/*.rb")].each { |f| require f }
Dir[File.join(ManageIQ::Providers::AnsibleTower::Engine.root, 'spec/support/**/*.rb')].each { |f| require f }

0 comments on commit bef0859

Please sign in to comment.