Sha256: 1de51419824755da443e23d7861f2b113d5fdffeb97f993937d7dee675f2314d

Contents?: true

Size: 265 Bytes

Versions: 17

Compression:

Stored size: 265 Bytes

Contents

require 'test_helper'

class MailTest < ActiveSupport::IntegrationCase

  test 'mail sent' do
    user = User.create!(:email => 'foo@foo.com', :password => 'wow')
    UserMailer.welcome_email(user).deliver
    assert_equal 1, counters["rails.mail.sent"]
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
librato-rails-1.4.2 test/integration/mail_test.rb
librato-rails-1.4.1 test/integration/mail_test.rb
librato-rails-1.4.0 test/integration/mail_test.rb
librato-rails-1.4.0.beta test/integration/mail_test.rb
librato-rails-1.3.0 test/integration/mail_test.rb
librato-rails-1.2.0 test/integration/mail_test.rb
librato-rails-1.1.0 test/integration/mail_test.rb
librato-rails-1.0.0 test/integration/mail_test.rb
librato-rails-0.12.0 test/integration/mail_test.rb
librato-rails-0.12.0.beta test/integration/mail_test.rb
librato-rails-0.11.1 test/integration/mail_test.rb
librato-rails-0.11.0 test/integration/mail_test.rb
librato-rails-0.10.3 test/integration/mail_test.rb
librato-rails-0.10.2 test/integration/mail_test.rb
librato-rails-0.10.1 test/integration/mail_test.rb
librato-rails-0.10.0 test/integration/mail_test.rb
librato-rails-0.10.0.pre1 test/integration/mail_test.rb