test/lazylead/task/savepoint_test.rb in lazylead-0.7.0 vs test/lazylead/task/savepoint_test.rb in lazylead-0.7.1
- old
+ new
@@ -44,11 +44,11 @@
"to" => "big.boss@example.com"
)
)
assert_equal 'text/markdown; filename="readme.md"',
Mail::TestMailer.deliveries
- .filter { |m| m.subject.eql? "[LL] Configuration backup" }
- .first.attachments.first.header.fields[0]
+ .find { |m| m.subject.eql? "[LL] Configuration backup" }
+ .attachments.first.header.fields[0]
.unparsed_value
end
end
end