Use new rspec metadata arguments as symbol
This commit is contained in:
parent
cff122432b
commit
580ad66bab
@ -29,7 +29,7 @@ module Producer::Core
|
||||
end
|
||||
end
|
||||
|
||||
describe '#execute', type: :ssh do
|
||||
describe '#execute', :ssh do
|
||||
let(:args) { 'some remote command'}
|
||||
let(:command) { "echo #{args}" }
|
||||
|
||||
|
@ -6,8 +6,10 @@ require 'support/net_ssh_story_helpers'
|
||||
|
||||
|
||||
RSpec.configure do |c|
|
||||
c.include NetSSHStoryHelpers, type: :ssh
|
||||
c.before(:each, type: :ssh) do
|
||||
c.treat_symbols_as_metadata_keys_with_true_values = true
|
||||
|
||||
c.include NetSSHStoryHelpers, :ssh
|
||||
c.before(:each, :ssh) do
|
||||
allow(remote).to receive(:session) { connection }
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user