Sha256: abcc22531379a8d07fc1c99b7550b291b5e68b247829520c6191738c9743b075
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
# This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration # # lib = File.expand_path('../../lib', __FILE__) # $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'rack' require 'pry' module Test class App def call(env) [200, {}, 'ok'] end end class FastMiddleware def initialize(app) @app = app end def call(env) @app.call(env) end end class SlowMiddleware < FastMiddleware def call(env) sleep 250e-3 super end end end RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = 'random' end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
rack-timer-statsd-0.0.1 | spec/spec_helper.rb |
rack-timer-0.0.1 | spec/spec_helper.rb |