Commit fc616081 authored by Douwe Maan's avatar Douwe Maan

Fix specs.

parent 2c7baed3
...@@ -99,8 +99,8 @@ describe SlackService do ...@@ -99,8 +99,8 @@ describe SlackService do
with(webhook_url, username: username). with(webhook_url, username: username).
and_return( and_return(
double(:slack_service).as_null_object double(:slack_service).as_null_object
) )
slack.execute(sample_data) slack.execute(push_sample_data)
end end
it 'should use the channel as an option when it is configured' do it 'should use the channel as an option when it is configured' do
...@@ -110,7 +110,7 @@ describe SlackService do ...@@ -110,7 +110,7 @@ describe SlackService do
and_return( and_return(
double(:slack_service).as_null_object double(:slack_service).as_null_object
) )
slack.execute(sample_data) slack.execute(push_sample_data)
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment