Sha256: 1b29b9bd73fa9a14fad09cf8eb797c05fa8f03ba5efabb66c440080e7f8b2d9b
Contents?: true
Size: 437 Bytes
Versions: 6
Compression:
Stored size: 437 Bytes
Contents
require 'spec_helper' describe Slackistrano do context "when :slackistrano is :disabled" do before(:all) do set :slackistrano, false end %w[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
6 entries across 6 versions & 1 rubygems