Sha256: 8349d9e05a886cae2a482e78447cce59fcad1014e5f745580dffe9958ef76c98

Contents?: true

Size: 713 Bytes

Versions: 24

Compression:

Stored size: 713 Bytes

Contents

shared_context "cli config" do
  before do
    @config_mock = mock 'config mock'
    SimpleDeploy.stub(:create_config).and_return(@config_mock)
    SimpleDeploy.stub(:config).and_return(@config_mock)
  end
end

shared_context "received config" do
  before do
    @config_mock = mock 'config mock'
    SimpleDeploy.should_receive(:config).and_return(@config_mock)
  end
end

shared_context "stubbed config" do
  before do
    @config_mock = mock 'config mock'
    SimpleDeploy.stub(:config).and_return(@config_mock)
  end
end

shared_context "double stubbed config" do |methods_hash|
  before do
    @config_stub = stub 'config stub', methods_hash
    SimpleDeploy.stub(:config).and_return(@config_stub)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
simple_deploy-0.10.2 spec/contexts/config_contexts.rb
simple_deploy-0.10.1 spec/contexts/config_contexts.rb
simple_deploy-0.10.0 spec/contexts/config_contexts.rb
simple_deploy-0.10.0.beta.3 spec/contexts/config_contexts.rb
simple_deploy-0.10.0.beta.2 spec/contexts/config_contexts.rb
simple_deploy-0.10.0.beta.1 spec/contexts/config_contexts.rb
simple_deploy-0.9.2 spec/contexts/config_contexts.rb
simple_deploy-0.9.1 spec/contexts/config_contexts.rb
simple_deploy-0.9.0 spec/contexts/config_contexts.rb
simple_deploy-0.8.2 spec/contexts/config_contexts.rb
simple_deploy-0.8.2.beta1 spec/contexts/config_contexts.rb
simple_deploy-0.8.1.beta1 spec/contexts/config_contexts.rb
simple_deploy-0.8.0 spec/contexts/config_contexts.rb
simple_deploy-0.7.8 spec/contexts/config_contexts.rb
simple_deploy-0.7.7 spec/contexts/config_contexts.rb
simple_deploy-0.7.7.beta.1 spec/contexts/config_contexts.rb
simple_deploy-0.7.6 spec/contexts/config_contexts.rb
simple_deploy-0.7.6.beta.6 spec/contexts/config_contexts.rb
simple_deploy-0.7.6.beta.5 spec/contexts/config_contexts.rb
simple_deploy-0.7.6.beta.3 spec/contexts/config_contexts.rb