validate root is localhost in redirect_spec
This commit is contained in:
@@ -20,6 +20,7 @@ feature "unvalidated redirect" do
|
||||
click_on "Login"
|
||||
end
|
||||
|
||||
expect(current_url).to start_with("http://127.0.0.1")
|
||||
expect(current_path).to eq("/dashboard/home")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user