Sha256: 9430f6ee934dc7b92814b0431ecc51c0e784807dd6461a519912dc727e7b3f32
Contents?: true
Size: 903 Bytes
Versions: 2
Compression:
Stored size: 903 Bytes
Contents
%w(auth authentication authorization).each do |library_name| path = File.expand_path("../../#{library_name}/lib", __FILE__) $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path) end ENV["RACK_ENV"] = "test" ENV["RAILS_ENV"] = "test" require "byebug" require "rspec" require "awesome_print" Dir.glob("./spec/support/**/*.rb").sort.each { |path| load path } require "simple/httpd" RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run focus: (ENV["CI"] != "true") config.expect_with(:rspec) { |c| c.syntax = :expect } config.order = "random" config.example_status_persistence_file_path = ".rspec.data" config.backtrace_exclusion_patterns << /spec\/support/ config.backtrace_exclusion_patterns << /spec_helper/ config.backtrace_exclusion_patterns << /database_cleaner/ # config.around(:each) do |example| # example.run # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple-httpd-0.0.4 | spec/spec_helper.rb |
simple-httpd-0.0.2 | spec/spec_helper.rb |