spec/lib/macaco/senders/sender_spec.rb in macaco-0.0.4 vs spec/lib/macaco/senders/sender_spec.rb in macaco-0.0.5
- old
+ new
@@ -19,11 +19,11 @@
end
end
describe '#to' do
it 'sets the recipient if theres a string provided' do
- mail.to.must_equal [ { email: 'to@test.com' } ]
+ mail.to.must_equal [ 'to@test.com' ]
end
end
describe '#from' do
it 'sets the from address' do
@@ -50,7 +50,7 @@
n = Macaco::Sender.new
n.body_text 'This is a test'
n.body_text.must_equal 'This is a test'
end
end
-
+
end
\ No newline at end of file