fix functional tests

This commit is contained in:
r888888888
2015-08-19 11:23:29 -07:00
parent b1bbb4fd9b
commit 076416c228
6 changed files with 7 additions and 10 deletions

View File

@@ -2,4 +2,4 @@
<p>The password for the user "<%= @user.name %>" for the website <%= Danbooru.config.app_name %> has been reset. It is now <code><%= @new_password %></code>.</p>
<p>Please log in to the website and <%= link_to "change your password", edit_user_path(@user, :host => Danbooru.config.hostname, :only_path => false) %> as soon as possible.</p>
<p>Please log in to the website and <%= link_to "change your password", edit_user_url(@user, :host => Danbooru.config.hostname, :only_path => false) %> as soon as possible.</p>

View File

@@ -10,7 +10,7 @@
<script type="text/javascript">
var addthis_config = {"data_track_addressbar": false, "pubid": "ra-4f8dbf8a41066ac7"};
var addthis_share = {
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
"url":"<%= j post_url(post, :only_path => false, :host => Danbooru.config.hostname) %>",
"title": "<%= '#r_18 ' unless post.rating == 's' %><%= escape_javascript post.presenter.humanized_essential_tag_string.html_safe %>"
};
</script>

View File

@@ -23,7 +23,7 @@
</div>
<% end %>
<p><%= link_to "Sign in securely", new_session_path(:protocol => "https", :only_path => false) %></p>
<p><%= link_to "Sign in securely", new_session_url(:protocol => "https", :only_path => false) %></p>
</section>
</div>
</div>