Sha256: 65350d32c3535f34b52a0ea3773ea65fdc80b6dcec8149f14e9184970fc4ba34

Contents?: true

Size: 963 Bytes

Versions: 20

Compression:

Stored size: 963 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Hyperdrive::Values do
  before do
    @values = Hyperdrive::Values
  end

  it "returns a list of request methods that are definable" do
    @values.definable_request_methods.must_be_kind_of Array
  end

  it "returns a list of request_methods that are supported" do
    @values.supported_request_methods.must_be_kind_of Array
  end

  it "returns a map of request methods to http request methods" do
    @values.request_methods.must_be_kind_of Hash
  end

  it "returns a map of http request methods to request methods" do
    @values.http_request_methods.must_be_kind_of Hash
  end

  it "returns a map of default cors options" do
    @values.default_cors_options.must_be_kind_of Hash
  end

  it "returns a map of default config options" do
    @values.default_cors_options.must_be_kind_of Hash
  end

  it "returns a map of default headers" do
    @values.default_cors_options.must_be_kind_of Hash
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.24 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.23 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.22 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.21 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.20 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.19 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.18 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.17 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.16 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.15 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.14 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.13 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.12 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.11 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.10 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.9 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.8 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.7 spec/hyperdrive/values_spec.rb
hyperdrive-0.0.6 spec/hyperdrive/values_spec.rb