Sha256: 4c47b9bbd0bd033d0540ed08968fde7c0c4c8b81d389064d9f92cc13ace3fb70
Contents?: true
Size: 567 Bytes
Versions: 4
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true require 'proxy_pac_rb' RSpec::Matchers.define :be_downloaded_via do |expected| match do |actual| @old_actual = actual @actual = proxy_pac.find(actual).to_s values_match? expected, @actual end failure_message do format(%(expected that url "%s" is downloaded via "%s", but it is downloaded via "%s".), @old_actual, expected, @actual) end failure_message_when_negated do format(%(expected that url "%s" is not downloaded via "%s", but it is downloaded via "%s".), @old_actual, expected, @actual) end end
Version data entries
4 entries across 4 versions & 1 rubygems