Sha256: 1b02489c976972761a319d8651a7affe21fa5b2ae927b8e9f268d04cf8ddd284
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe Slackistrano do before(:all) do set :slackistrano, { channel: %w[one two] } end context "when :slack_channel is an array" do %w[updating reverting updated reverted failed].each do |stage| it "posts to slack on slack:deploy:#{stage} in every channel" do expect_any_instance_of(Slackistrano::Capistrano).to receive(:post).twice Rake::Task["slack:deploy:#{stage}"].execute end end end end
Version data entries
8 entries across 8 versions & 1 rubygems