Sha256: 3694a27d05c5e8cc065a2993b68704115e1fd073cc12d25567bec85d1ef7bcab

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

Given /^a basic email in a string$/ do
  @string = "To: mikel\nFrom: bob\nSubject: Hello!\n\nemail message\n"
end

When /^I parse the basic email$/ do
  @mail = Mail.new(@string)
end

Then /^the '(.+)' field should be '(.+)'$/ do |attribute, value|
  @mail.send(attribute).should == value
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-mail_exception-0.0.1 vendor/mail/spec/features/steps/making_a_new_message_steps.rb