checking the string
This commit is contained in:
parent
3363f84161
commit
02ca5793bc
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ describe Notifier do
|
|||
end
|
||||
|
||||
it 'has the post link in the body' do
|
||||
comment_mail.body.encoded.should match "/#{object_path(@sm)}/"
|
||||
comment_mail.body.encoded.include?("#{comment.post.id.to_s}").should be true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue