broken pipe quest

This commit is contained in:
2014-08-13 15:17:27 +02:00
parent 031e2bedea
commit 3fc7030002
13 changed files with 41 additions and 53 deletions
@@ -40,11 +40,6 @@ describe Suppliers::ListsController, type: :controller do
get :index
expect{ render_template :index }.not_to raise_error
end
it "renders the :index view" do
get :index
response.should render_template :index
end
end
describe "GET #show" do
@@ -28,11 +28,6 @@ describe Suppliers::SectionsController, type: :controller do
get :index
expect{ render_template :index }.not_to raise_error
end
it "renders the :index view" do
get :index
response.should render_template :index
end
end
describe "GET #show" do
@@ -159,7 +154,7 @@ describe Suppliers::SectionsController, type: :controller do
it "deletes the section" do
expect{
delete :destroy, id: @section
delete :destroy, id: @section
}.to change(Section, :count).by(-1)
end