spec/spec_helper.rb in insales_api-0.0.13 vs spec/spec_helper.rb in insales_api-0.1.0
- old
+ new
@@ -1,12 +1,11 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'insales_api'
-InsalesApi::App.api_key = 'test'
-InsalesApi::App.api_secret = 'test'
-InsalesApi::App.api_host = 'myshop.insales.ru'
-InsalesApi::App.api_autologin_path = 'session/autologin'
+InsalesApi::App.api_key = 'test'
+InsalesApi::App.api_secret = 'test'
+InsalesApi::App.api_autologin_url = 'https://host.com/session/autologin'
RSpec.configure do |config|
# == Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: