Skip to content

Commit

Permalink
Added new spec to make sure our file action uses the no side bar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jul 5, 2010
1 parent 8bdc47a commit b0201f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/controllers/application_controller_spec.rb
Expand Up @@ -70,6 +70,13 @@
response.should use_layout("no_sidebar")
end
end

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

context "Parking" do
Expand Down

0 comments on commit b0201f2

Please sign in to comment.