parent
5017bd9541
commit
18fbb2a885
1 changed files with 1 additions and 5 deletions
|
|
@ -73,11 +73,7 @@ describe Notifier, type: :mailer do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "has the name of person sending the request" do
|
it "has the name of person sending the request" do
|
||||||
expect(request_mail.body.encoded.include?(person.name)).to be true
|
expect(request_mail.body.encoded).to include(person.name)
|
||||||
end
|
|
||||||
|
|
||||||
it "has the css" do
|
|
||||||
request_mail.body.encoded.include?("<style type='text/css'>")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue