spec/env.rb in geoloqi-0.9.37 vs spec/env.rb in geoloqi-0.9.38
- old
+ new
@@ -1,13 +1,14 @@
# Bundler.setup
require 'rubygems'
require './lib/geoloqi.rb'
require 'minitest/autorun'
-require 'wrong'
-require 'wrong/adapters/minitest'
require 'webmock'
+# Fix for RBX
+require 'hashie/hash'
+
CLIENT_ID = 'client_id1234'
CLIENT_SECRET = 'client_secret1234'
ACCESS_TOKEN = 'access_token1234'
def auth_headers(access_token='access_token1234')
@@ -17,7 +18,6 @@
'Authorization' => "OAuth #{access_token}"}
end
def api_url(path); "#{Geoloqi.api_url}/#{Geoloqi.api_version}/#{path}" end
-Wrong.config.alias_assert :expect
-include WebMock::API
+include WebMock::API
\ No newline at end of file