Sha256: deb1ae1254793e5d8cec82b8d3a7421abbb24f33101e50885aba54e873aa7f25
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" # test coverage require 'simplecov' require 'simplecov_json_formatter' SimpleCov.start 'rails' do if ENV['CI'] formatter SimpleCov::Formatter::JSONFormatter else formatter SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::SimpleFormatter, SimpleCov::Formatter::HTMLFormatter ]) end track_files "lib/**/*.rb" # repeat the add_filter values in sonar-project.properties file # otherwise sonarcloud does not calculate properly the coverage ratio add_filter "lib/generators/updateable_views_inheritance/templates/create_updateable_views_inheritance.rb" add_filter "lib/updateable_views_inheritance/version.rb" end require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rails/test_help' require 'updateable_views_inheritance' begin if RUBY_VERSION > "2" require 'byebug' else require 'debugger' end rescue LoadError # no debugger available end class ActiveSupport::TestCase #:nodoc: include ActiveRecord::TestFixtures self.fixture_path = "#{File.dirname(__FILE__)}/fixtures/" ActiveRecord::Migration.verbose = false end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
updateable_views_inheritance-1.4.6 | test/test_helper.rb |
updateable_views_inheritance-1.4.5 | test/test_helper.rb |
updateable_views_inheritance-1.4.4 | test/test_helper.rb |