Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
el / test / helpers.rb
Size: Mime:
module ELSpecHelper
  def match? source, target
    check(source) =~
      (target.is_a?(Regexp) ? target : Regexp.new(Regexp.escape target))
  end

  def match_body? target
    does(last_response.body).match? target
  end

  def current_body? body
    is(last_response.body).eql? body
  end
end