diff --git a/app/views/login/login_mobile.html.erb b/app/views/login/login_mobile.html.erb index f3ff6511..a2b7cd94 100644 --- a/app/views/login/login_mobile.html.erb +++ b/app/views/login/login_mobile.html.erb @@ -39,7 +39,7 @@

...or login with an Open ID:

- <% form_tag formatted_open_id_begin_path(:format => 'm') do %> + <% form_tag formatted_login_path(:format => 'm') do %> diff --git a/spec/views/login/login_mobile.html.erb_spec.rb b/spec/views/login/login_mobile.html.erb_spec.rb new file mode 100644 index 00000000..5abca9f6 --- /dev/null +++ b/spec/views/login/login_mobile.html.erb_spec.rb @@ -0,0 +1,8 @@ +require File.dirname(__FILE__) + '/../../spec_helper' + +describe "/login.m" do + it "should render without an error" do + render :action => 'login/login_mobile.html.erb', :layout => 'mobile.m.erb' + response.should_not have_tag("div#Application-Trace") + end +end