Sha256: b3cf071beba72264d112adb3456ed6ea54fb9afedfc2e937d5a5c3808104b6cb
Contents?: true
Size: 813 Bytes
Versions: 4
Compression:
Stored size: 813 Bytes
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require "rspec/rails" ActionMailer::Base.delivery_method = :test ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_url_options[:host] = "test.com" Rails.backtrace_cleaner.remove_silencers! # Run any available migration ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__) # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| # Remove this line if you don't want RSpec's should and should_not # methods or matchers require 'rspec/expectations' config.include RSpec::Matchers # == Mock Framework config.mock_with :rspec end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cronjobber-1.1.1 | spec/spec_helper.rb |
cronjobber-1.1.0 | spec/spec_helper.rb |
cronjobber-1.0.2 | spec/spec_helper.rb |
cronjobber-1.0.1 | spec/spec_helper.rb |