validate root is localhost in redirect_spec

This commit is contained in:
Nicole Rifkin
2019-11-21 09:07:38 -05:00
parent 483112bb18
commit 5191409db6
@@ -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