spec/mushikago/tombo/client_spec.rb in mushikago-sdk-0.3.7 vs spec/mushikago/tombo/client_spec.rb in mushikago-sdk-0.4.0

- old
+ new

@@ -3,11 +3,12 @@ describe Mushikago::Tombo::Client do before :all do @client = Mushikago::Tombo::Client.new( :api_key => ENV['MUSHIKAGO_API_KEY'], - :secret_key => ENV['MUSHIKAGO_SECRET_KEY'] + :secret_key => ENV['MUSHIKAGO_SECRET_KEY'], + :use_ssl => false ) end subject{ @client } @@ -43,10 +44,10 @@ :image_url => 'http://img.tombo.ne.jp/sample.jpg', :thumbnail_url => 'http://img.tombo.ne.jp/t/sample.jpg' } } create_http_mock(response.to_json) - @response = @client.capture('http://www.tombo.ne.jp/', :thumbnail=>1) + @response = @client.capture('http://api.mushikago.org/', :thumbnail=>1) end subject{ @response } it_should_behave_like 'Basic response of request'