|
@@ -75,6 +75,7 @@ describe Agents::GoogleCalendarPublishAgent, :vcr do
|
|
|
fake_interface = Object.new
|
|
|
mock(GoogleCalendar).new(agent.interpolate_options(agent.options), Rails.logger) { fake_interface }
|
|
|
mock(fake_interface).publish_as(calendar_id, message) { response_hash }
|
|
|
+ mock(fake_interface).cleanup!
|
|
|
end
|
|
|
|
|
|
describe 'when the calendar_id is in the options' do
|