Sha256: 37a5c84f815727778c7a016af516dc5b85bcaba13667309ecc742d15549337ad
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' describe Slackistrano do context "when :slackistrano is :disabled" do before(:all) do set :slackistrano, false end %w[starting updating reverting updated reverted failed].each do |stage| it "doesn't post on slack:deploy:#{stage}" do expect_any_instance_of(Slackistrano::Capistrano).not_to receive(:post) Rake::Task["slack:deploy:#{stage}"].execute end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slackistrano-4.0.2 | spec/disabling_posting_to_slack_spec.rb |
slackistrano-4.0.1 | spec/disabling_posting_to_slack_spec.rb |