Sha256: 5f40c50e098833cb53501e86e0c5da9b21faa80c0e41f26ae1b777c9dcbe3205
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' describe Slackistrano do before(:each) do Rake::Task['load:defaults'].execute end %w[updating reverting updated reverted failed].each do |stage| it "does not post to slack on slack:deploy:#{stage}" do set "slack_run_#{stage}".to_sym, -> { true } expect(Capistrano::Configuration).to receive(:dry_run?).and_return(true) expect(Slackistrano).not_to receive(:post) Rake::Task["slack:deploy:#{stage}"].execute end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slackistrano-3.0.1 | spec/dry_run_spec.rb |