Sha256: 58dd0bec54022955ad47022b5a2585aff0f159640829f65f78a824c98579e9b1

Contents?: true

Size: 105 Bytes

Versions: 4

Compression:

Stored size: 105 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pah-0.0.20 lib/pah/files/spec/support/matchers.rb
pah-0.0.19 lib/pah/files/spec/support/matchers.rb
pah-0.0.17 lib/pah/files/spec/support/matchers.rb
pah-0.0.16 lib/pah/files/spec/support/matchers.rb