Sha256: 60144e2054ff0b6ddd2d0ed491301cd1a4ae360d137c45ee313b3747d7ded182

Contents?: true

Size: 762 Bytes

Versions: 6

Compression:

Stored size: 762 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'active_support'
require 'active_support/core_ext'
require 'active_support/test_case'
require 'action_controller'
require 'action_dispatch/testing/test_process'
require 'action_dispatch/testing/test_request'
require 'action_dispatch/testing/test_response'

require 'rspec'
require 'mocha'
require 'restful_metrics'

require 'delayed_job'

include Rack::Test::Methods

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.mock_framework = :mocha
end

Delayed::Worker.backend = :mock

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
restful_metrics-1.1.5 spec/spec_helper.rb
restful_metrics-1.1.4 spec/spec_helper.rb
restful_metrics-1.1.3 spec/spec_helper.rb
restful_metrics-1.1.2 spec/spec_helper.rb
restful_metrics-1.1.1 spec/spec_helper.rb
restful_metrics-1.1.0 spec/spec_helper.rb