Sha256: f8509780127c38041806511a4d6cc612b07fd43f74dfbdcb5e0d5ad1680e3d07
Contents?: true
Size: 496 Bytes
Versions: 4
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' describe Dbcp::ExecutionHost do describe ".build" do context "when ssh information is present" do let(:environment_hash) { { 'ssh_uri' => 'ssh://staging_user@staging.example.com/www/staging/current' } } specify { expect(Dbcp::ExecutionHost.build(environment_hash)).to be_a Dbcp::SshExecutionHost } end context "without ssh information" do specify { expect(Dbcp::ExecutionHost.build({})).to be_a Dbcp::LocalExecutionHost } end end end
Version data entries
4 entries across 4 versions & 1 rubygems