Sha256: 536215614e5b971587917be991ee59928e86e4962263cd1c896d9cf3f41fc2f4
Contents?: true
Size: 942 Bytes
Versions: 3
Compression:
Stored size: 942 Bytes
Contents
require 'simplecov' SimpleCov.start do add_filter 'spec' add_group 'Controllers', 'app/controllers' add_group 'Helpers', 'app/helpers' add_group 'Overrides', 'app/overrides' add_group 'Models', 'app/models' add_group 'Libraries', 'lib' end ENV['RAILS_ENV'] ||= 'test' begin require File.expand_path('../dummy/config/environment', __FILE__) rescue LoadError puts 'Could not load dummy application. Please ensure you have run `bundle exec rake test_app`' exit end require 'rspec/rails' require 'ffaker' require 'pry' RSpec.configure do |config| config.fail_fast = false config.filter_run focus: true config.run_all_when_everything_filtered = true config.raise_errors_for_deprecations! config.infer_spec_type_from_file_location! config.expect_with :rspec do |expectations| expectations.syntax = :expect end end Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |file| require file }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidus_social-1.2.0 | spec/spec_helper.rb |
solidus_social-1.1.0 | spec/spec_helper.rb |
solidus_social-1.0.0 | spec/spec_helper.rb |