Sha256: 47a90b6a16cb5d9dee73f4a22aeae1f02d2534acad2036e3202ed30b9b383893

Contents?: true

Size: 195 Bytes

Versions: 7

Compression:

Stored size: 195 Bytes

Contents

require 'spec_helper'
require 'gatling'

RSpec::Matchers.define :look_like do |expected|
  match do |actual|
    compare = Gatling::Comparison.new(expected, actual)
    compare.matches?
  end
end

Version data entries

7 entries across 6 versions & 1 rubygems

Version Path
gatling-1.0.4 lib/gatling/matchers/look_like_matcher.rb
gatling-1.0.3 lib/gatling/matchers/look_like_matcher.rb
gatling-1.0.2 lib/gatling/matchers/look_like_matcher.rb
gatling-1.0.1 lib/matchers/look_like_matcher.rb
gatling-1.0.1 lib/gatling/look_like_matcher.rb
gatling-1.0.0 lib/matchers/look_like_matcher.rb
gatling-0.9.9 lib/matchers/look_like_matcher.rb