Sha256: fa45e3bf6bd07b5e8d7c0cceeb4d810a824bed4438a61326602a7cd93a33d87d

Contents?: true

Size: 454 Bytes

Versions: 3

Compression:

Stored size: 454 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

# Load the example app
require 'padrino'
require File.expand_path('../../example_padrino_app/app', __FILE__)

describe PadrinoApp do

  before do
    @message = PadrinoApp.send_mail(:basic)
    @message_body = @message.body.raw_source
  end

  it "should let me pry" do
    style = /<p style="font-size: 36px; font-family: Helvetica, sans-serif;">/
    assert_match style, @message_body
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sexxy-emails-0.0.6 test/sexxy_emails/padrino_mailer_test.rb
sexxy-emails-0.0.5 test/sexxy_emails/padrino_mailer_test.rb
sexxy-emails-0.0.3 test/sexxy_emails/padrino_mailer_test.rb