Sha256: a5152eeafa7125c5babc623a3af9a6404e3059b7de0c719ecebfaa95a56d70d3
Contents?: true
Size: 690 Bytes
Versions: 1
Compression:
Stored size: 690 Bytes
Contents
if defined?(ActionMailer) module RSpec::Rails module MailerExampleGroup extend ActiveSupport::Concern extend RSpec::Rails::ModuleInclusion include ActionMailer::TestCase::Behavior include Webrat::Matchers include RSpec::Matchers included do include ::Rails.application.routes.url_helpers options = ::Rails.configuration.action_mailer.default_url_options options.each { |key, value| default_url_options[key] = value } if options end module ClassMethods def mailer_class describes end end RSpec.configure &include_self_when_dir_matches('spec','mailers') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-rails-2.0.0.beta.16 | lib/rspec/rails/example/mailer_example_group.rb |