Sha256: 066091e47066e159916eba47da1c903e5b12f8288fcfbad9e1019cfcd326863a

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

require 'rubygems'
require 'action_mailer'
require 'rspec'
require 'mail'
require File.expand_path(File.dirname(__FILE__) + '/../lib/email_spec.rb')

class Mail::Message
  def with_inspect_stub(str = "email")
    stub!(:inspect).and_return(str)
    self
  end
end

  RSpec.configure do |config|
  config.mock_with :rspec
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
email_spec-1.0.1 spec/spec_helper.rb
email_spec-1.2.1 spec/spec_helper.rb
email_spec-1.2.0 spec/spec_helper.rb
email_spec-1.1.1 spec/spec_helper.rb
path-email_spec-0.6.2 spec/spec_helper.rb