Sha256: 157f50ae6a867b134fd3447b876a9532ddeb47895dd9eea854cbea9d2f411874
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
# frozen_string_literal: true require 'spec_helper' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../dummy/config/environment', __FILE__) require 'rspec/rails' require 'capybara/rspec' require 'webmock/rspec' Rails.backtrace_cleaner.remove_silencers! # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f } RSpec.configure do |config| # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. config.use_transactional_fixtures = true # If true, the base class of anonymous controllers will be inferred # automatically. This will be the default behavior in future versions of # rspec-rails. config.infer_base_class_for_anonymous_controllers = false config.after(:suite) { WebMock.disable! } config.infer_spec_type_from_file_location! end Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
g5_authenticatable_api-1.0.0 | spec/rails_helper.rb |
g5_authenticatable_api-1.0.0.pre.1 | spec/rails_helper.rb |