concretized redirection expectations in controller specs

This commit is contained in:
Hauke Klement
2015-02-24 18:57:00 +01:00
parent c84e47753c
commit 42c8b47d40
9 changed files with 26 additions and 26 deletions

View File

@ -42,6 +42,6 @@ describe CodeOcean::FilesController do
expect { request.call }.to change(CodeOcean::File, :count).by(-1)
end
expect_redirect
expect_redirect(:exercise)
end
end