spec/support/shared_api_context.rb in cellect-client-0.1.3 vs spec/support/shared_api_context.rb in cellect-client-1.0.0
- old
+ new
@@ -1,11 +1,11 @@
shared_context 'API' do
include Rack::Test::Methods
-
+
def app
$app ||= Cellect::Server::API.new
end
-
+
def json
Oj.strict_load last_response.body
end
end