Sha256: 1e9cb56f3fff5e09d7a6d583e7d63334bce13b39b475c06e66fa0944fcca739d

Contents?: true

Size: 173 Bytes

Versions: 28

Compression:

Stored size: 173 Bytes

Contents

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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
cellect-server-0.1.3 spec/support/shared_api_context.rb
cellect-client-0.1.3 spec/support/shared_api_context.rb
cellect-client-0.1.2.pre.jruby spec/support/shared_api_context.rb
cellect-server-0.1.2.pre.jruby spec/support/shared_api_context.rb
cellect-client-0.1.2 spec/support/shared_api_context.rb
cellect-server-0.1.2 spec/support/shared_api_context.rb
cellect-client-0.1.1 spec/support/shared_api_context.rb
cellect-server-0.1.1 spec/support/shared_api_context.rb
cellect-client-0.1.0 spec/support/shared_api_context.rb
cellect-server-0.1.0 spec/support/shared_api_context.rb
cellect-client-0.0.9 spec/support/shared_api_context.rb
cellect-server-0.0.9 spec/support/shared_api_context.rb
cellect-client-0.0.8 spec/support/shared_api_context.rb
cellect-server-0.0.8 spec/support/shared_api_context.rb
cellect-client-0.0.7 spec/support/shared_api_context.rb
cellect-server-0.0.7 spec/support/shared_api_context.rb
cellect-client-0.0.6 spec/support/shared_api_context.rb
cellect-server-0.0.6 spec/support/shared_api_context.rb
cellect-client-0.0.5 spec/support/shared_api_context.rb
cellect-server-0.0.5 spec/support/shared_api_context.rb