Sha256: d8203167e06c8e3ed24ba665003bbcea46417502a8d391dbb5ab07630100b037

Contents?: true

Size: 104 Bytes

Versions: 15

Compression:

Stored size: 104 Bytes

Contents

RSpec::Matchers.define :be_bad_request do
  match do |response|
    response.code.to_s =~ /^4/
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pah-0.0.15 lib/pah/files/spec/support/matchers.rb
pah-0.0.14 lib/pah/files/spec/support/matchers.rb
pah-0.0.13 lib/pah/files/spec/support/matchers.rb
pah-0.0.12 lib/pah/files/spec/support/matchers.rb
pah-0.0.11 lib/pah/files/spec/support/matchers.rb
pah-0.0.10 lib/pah/files/spec/support/matchers.rb
pah-0.0.9 lib/pah/files/spec/support/matchers.rb
pah-0.0.8 lib/pah/files/spec/support/matchers.rb
pah-0.0.7 lib/pah/files/spec/support/matchers.rb
pah-0.0.6 lib/pah/files/spec/support/matchers.rb
pah-0.0.5 lib/pah/files/spec/support/matchers.rb
pah-0.0.4 lib/pah/files/spec/support/matchers.rb
pah-0.0.3 lib/pah/files/spec/support/matchers.rb
pah-0.0.2 lib/pah/files/spec/support/matchers.rb
pah-0.0.1 lib/pah/files/spec/support/matchers.rb