spec/tasks_spec.rb in slackistrano-0.1.7 vs spec/tasks_spec.rb in slackistrano-0.1.8

- old
+ new

@@ -57,10 +57,14 @@ set :"slack_msg_#{stage}", -> { 'text message' } set :"slack_channel_#{stage}", -> { channel_for_stage } expected_channel = channel_for_stage || 'channel' - attachment = {text: 'text message', color: color}.reject{|k,v| v.nil?} + attachment = { + text: 'text message', + color: color, + mrkdwn_in: [:text] + }.reject{|k,v| v.nil?} expect(Slackistrano).to receive(:post).with( team: 'team', token: 'token', webhook: 'webhook',