Sha256: 6118ea3dfe68abf743a72b115e41c60abcccc1209dba466d1410de9d9123143b

Contents?: true

Size: 339 Bytes

Versions: 24

Compression:

Stored size: 339 Bytes

Contents

shared_context "double stubbed logger" do
  before do
    @logger_stub = stub 'logger stub', :debug => true,
                                       :info  => true,
                                       :warn  => true,
                                       :error => true
    SimpleDeploy.stub(:logger).and_return(@logger_stub)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

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