Sha256: 13d51ba6271264ad8db67790341c6af164fafb5d11c8493c651a7e3e107d1110

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

require "spec_helper"

describe Rack::API, "delegators" do
  subject { Rack::API }

  it { should respond_to(:version) }
  it { should respond_to(:use) }
  it { should respond_to(:prefix) }
  it { should respond_to(:basic_auth) }
  it { should respond_to(:helper) }
  it { should respond_to(:default_url_options) }
  it { should respond_to(:rescue_from) }
  it { should respond_to(:get) }
  it { should respond_to(:post) }
  it { should respond_to(:put) }
  it { should respond_to(:delete) }
  it { should respond_to(:head) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-api-1.0.2 spec/rack-api/method_delegation_spec.rb
rack-api-1.0.1 spec/rack-api/method_delegation_spec.rb