spec/target_spec.rb in shuttle-deploy-0.3.0.beta1 vs spec/target_spec.rb in shuttle-deploy-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
describe Shuttle::Target do
let(:target) { Shuttle::Target.new(attributes) }
describe '#connection' do
let(:attributes) do
- {:host => 'host.com', user: 'user', password: 'password'}
+ { :host => 'host.com', :user => 'user', :password => 'password' }
end
it 'returns a new ssh session connection' do
expect(target.connection).to be_a Net::SSH::Session
end
\ No newline at end of file