<% end %>
<%= error_messages_for current_user %>
-<%= form_for current_user, :url => { :action => :account }, :html => { :multipart => true, :id => 'accountForm', :class => 'standard-form', :autocomplete => :off } do |f| %>
+<%= form_for current_user, :url => { :action => :account }, :method => :post, :html => { :multipart => true, :id => 'accountForm', :class => 'standard-form', :autocomplete => :off } do |f| %>
<fieldset>
<div class="form-row">
<label class="standard-label"><%= t 'user.new.display name' %></label>
assert_template :account
assert_select "form#accountForm" do |form|
assert_equal "post", form.attr("method").to_s
+ assert_select "input[name='_method']", false
assert_equal "/user/#{URI.encode(user.display_name)}/account", form.attr("action").to_s
end