Skip to content

Commit

Permalink
Refactored so that our edit views also use the no sidebar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 21, 2010
1 parent 9dc077a commit 23e3790
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/controllers/application_controller_spec.rb
Expand Up @@ -23,4 +23,11 @@
response.should use_layout("no_sidebar")
end
end

describe "GET, edit" do
it "should render the no sidebar layout" do
get :edit, {:id => 1}
response.should use_layout("no_sidebar")
end
end
end

0 comments on commit 23e3790

Please sign in to comment.