spec/dummy/spec/mailers/post_mailer_spec.rb in draper-1.0.0.beta6 vs spec/dummy/spec/mailers/post_mailer_spec.rb in draper-1.0.0
- old
+ new
@@ -17,13 +17,13 @@
it "can use path helpers with an id" do
subject.should have_css "#path_with_id", text: "/en/posts/#{post.id}"
end
it "can use url helpers with a model" do
- subject.should have_css "#url_with_model", text: "http://www.example.com/en/posts/#{post.id}"
+ subject.should have_css "#url_with_model", text: "http://www.example.com:12345/en/posts/#{post.id}"
end
it "can use url helpers with an id" do
- subject.should have_css "#url_with_id", text: "http://www.example.com/en/posts/#{post.id}"
+ subject.should have_css "#url_with_id", text: "http://www.example.com:12345/en/posts/#{post.id}"
end
end
end