producer-core/spec/spec_helper.rb
Thibault Jouan cfe9a009ae Revert "Remove deprecated rspec option"
This reverts commit 5e6f5f4861c50c4450095f271943674885476d5f.
2013-12-19 20:21:24 +00:00

17 lines
376 B
Ruby

require 'producer/core'
require 'support/exit_helpers'
require 'support/fixtures_helpers'
require 'support/net_ssh_story_helpers'
require 'support/tests_helpers'
RSpec.configure do |c|
c.treat_symbols_as_metadata_keys_with_true_values = true
c.include NetSSHStoryHelpers, :ssh
c.before(:each, :ssh) do
allow(Net::SSH).to receive(:start) { connection }
end
end