Sha256: 872a254f873f653cbcebe6eff110ee9233afe73e16f41401291b81bff3d9f867
Contents?: true
Size: 873 Bytes
Versions: 1
Compression:
Stored size: 873 Bytes
Contents
require "simplecov" SimpleCov.start do formatter SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, ] add_filter 'spec/' end require "minitest/autorun" require "minitest/focus" require "awesome_print" require "pry" require_relative "../lib/accept_headers" INVALID_FLOAT_PATTERN = /\Ainvalid \w+ for Float(?:\(\)\: |\z)/ class Minitest::Spec def chrome { accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' } end def firefox { accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' } end def safari { accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' } end def ie { accept: 'text/html, application/xhtml+xml, */*' } end def all_browsers [chrome, firefox, safari, ie] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
accept_headers-0.1.0 | spec/spec_helper.rb |