spec/notifier/campfire_spec.rb in simple_deploy-0.4.4 vs spec/notifier/campfire_spec.rb in simple_deploy-0.4.5.rc.0
- old
+ new
@@ -19,10 +19,10 @@
:config => 'env_config',
:logger => @logger_mock).
and_return @stack_mock
Tinder::Campfire.should_receive(:new).
- with('subdom', :token => 'tkn', :verify => false).and_return @tinder_mock
+ with("subdom", { :token=>"tkn", :ssl_options=> { :verify => false } }).and_return @tinder_mock
@stack_mock.should_receive(:attributes).
and_return( 'campfire_room_ids' => '1,2',
'campfire_subdomain' => 'subdom' )
@logger_mock.should_receive(:debug).
with "Campfire subdomain 'subdom'."