Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
travis try #2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanLiu96 committed Feb 12, 2015
1 parent a1b00ab commit 228226c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mailers/user_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
shared_examples_for 'contains reservation' do
it 'has reservation link' do
# body contains link to the reservation
expect(@mail.body).to
expect(@mail.body).to \
include("<a href=\"http://0.0.0.0:3000/reservations/#{@res.id}\"")
end
end
Expand Down Expand Up @@ -84,7 +84,7 @@
it 'has reservation link' do
# custom test because @res is an array
# body contains link to the reservation,
expect(@mail.body).to
expect(@mail.body).to \
include("<a href=\"http://0.0.0.0:3000/reservations/#{@res[0].id}\"")
end
it_behaves_like 'valid user email'
Expand Down

0 comments on commit 228226c

Please sign in to comment.