Sha256: 77aae9143904132d19ad2d025002cd60ed7b4c2188852bb9b2ea6ffe7e3f3113

Contents?: true

Size: 730 Bytes

Versions: 5

Compression:

Stored size: 730 Bytes

Contents

require 'simplecov'
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config do |c|
  c.report_with_single_file = true
  c.single_report_path = 'coverage/lcov.info'
end
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start do
  add_filter 'test'
end

require 'spyke'
require 'minitest/autorun'
require 'minitest/reporters'
require 'mocha/minitest'
require 'pry'

# Require support files
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

# Pretty colors
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

# For testing strong params
require 'action_controller/metal/strong_parameters'

def strong_params(params)
  ActionController::Parameters.new(params)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spyke-7.2.2 test/test_helper.rb
spyke-7.1.1 test/test_helper.rb
spyke-7.1.0 test/test_helper.rb
spyke-7.0.0 test/test_helper.rb
spyke-6.1.3 test/test_helper.rb