Second review fixes

This commit is contained in:
Rafael dos Santos Silva
2016-08-09 00:53:08 -03:00
parent f96fffeb34
commit 0229df4c73
5 changed files with 14 additions and 23 deletions

View File

@ -88,10 +88,6 @@ describe TopicsController do
render_views
context "when the SiteSetting is enabled" do
before do
SiteSetting.stubs(:max_prints_per_hour_per_user).returns(10)
end
it "uses the application layout when there's no param" do
get :show, topic_id: topic.id, slug: topic.slug
expect(response).to render_template(layout: 'application')