mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 16:28:50 +01:00
Fix failing specs. All specs and tests pass now.
This commit is contained in:
parent
feeca283b4
commit
96762630f2
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue