spec/requests/authentication_soot2.rb in gds-sso-0.5.4 vs spec/requests/authentication_soot2.rb in gds-sso-0.6.0

- old
+ new

@@ -6,11 +6,11 @@ describe "when not signed in" do describe "a protected page" do it "redirects to /auth/gds" do - get "/" + get "/restricted" response.code.should == "302" response.location.should == "http://www.example.com/auth/gds" end end @@ -18,10 +18,10 @@ describe "/auth/gds" do it "redirects to signonotron2" do get "/auth/gds" response.code.should == "302" - response.location.should =~ /^http:\/\/localhost:3000\/oauth\/authorize/ + response.location.should =~ /^http:\/\/localhost:4567\/oauth\/authorize/ end it "authenticates with a username and password and redirects back to the app" do get "/auth/gds"