Sha256: 0d0569e4cfb627e2b02d1a46db19b9a6df93279119dfc45b735d7f95d2f78205

Contents?: true

Size: 410 Bytes

Versions: 19

Compression:

Stored size: 410 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Hyperdrive::Errors::DSL::UnknownArgument do
  it 'has a message' do
    error = Hyperdrive::Errors::DSL::UnknownArgument.new('trace', 'request')
    error.message.must_match(/DSL/)
  end

  it "formats Symbol arguments with a `:'" do
    error = Hyperdrive::Errors::DSL::UnknownArgument.new(:trace, 'request')
    error.message.must_match(/:trace/)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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