Don't use a too large invalid id
This commit is contained in:
parent
2d7399de28
commit
9530f00bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ describe AspectsController, :type => :controller do
|
|||
expect(response).to be_redirect
|
||||
end
|
||||
it 'redirects on an invalid id' do
|
||||
get :show, 'id' => 4341029835
|
||||
get :show, 'id' => 0
|
||||
expect(response).to be_redirect
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue