Sha256: a8e50af8005e3aa407fcfc72198317f07b5d6b05178fcba236d4237a232f19a1
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
require "codeclimate-test-reporter" require "simplecov" CodeClimate::TestReporter.configure do |config| config.logger.level = Logger::WARN end SimpleCov.start do formatter SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter ] 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
accept_headers-0.0.9 | spec/spec_helper.rb |
accept_headers-0.0.8 | spec/spec_helper.rb |
accept_headers-0.0.7 | spec/spec_helper.rb |