diff --git a/spec/views/login/login_mobile.html.erb_spec.rb b/spec/views/login/login_mobile.html.erb_spec.rb
index 5abca9f6..b3bce82d 100644
--- a/spec/views/login/login_mobile.html.erb_spec.rb
+++ b/spec/views/login/login_mobile.html.erb_spec.rb
@@ -1,7 +1,8 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe "/login.m" do
+describe "/login/login_mobile.html.erb" do
it "should render without an error" do
+ @controller.template.stub!(:set_default_external!)
render :action => 'login/login_mobile.html.erb', :layout => 'mobile.m.erb'
response.should_not have_tag("div#Application-Trace")
end
diff --git a/spec/views/todos/_toggle_notes.rhtml_spec.rb b/spec/views/todos/_toggle_notes.rhtml_spec.rb
index d00d38a0..4a9cf0dc 100644
--- a/spec/views/todos/_toggle_notes.rhtml_spec.rb
+++ b/spec/views/todos/_toggle_notes.rhtml_spec.rb
@@ -6,6 +6,7 @@ describe "/todos/_toggle_notes.rhtml" do
before :each do
@item = mock_model(Todo, :notes => "this is a note")
@controller.template.stub!(:apply_behavior)
+ @controller.template.stub!(:set_default_external!)
end
it "should render" do