mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 13:59:07 +01:00
Fix test for activating with expired code
This commit is contained in:
parent
aeb1396422
commit
4dc00a0114
1 changed files with 0 additions and 1 deletions
|
@ -131,7 +131,6 @@ describe UserController, type: :controller do
|
||||||
it "shows an error if the user attempts to use the code once it has expired" do
|
it "shows an error if the user attempts to use the code once it has expired" do
|
||||||
Timecop.freeze(Time.at(1603290910)) do
|
Timecop.freeze(Time.at(1603290910)) do
|
||||||
subject
|
subject
|
||||||
expect(response).to redirect_to :edit_user_security
|
|
||||||
expect(flash[:error]).to eq('The code you entered was invalid.')
|
expect(flash[:error]).to eq('The code you entered was invalid.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue