Sha256: c1abeb4e3a9febb67c75c89dbcd3cd269db030cffd711792ccd85d8618109e8f
Contents?: true
Size: 606 Bytes
Versions: 15
Compression:
Stored size: 606 Bytes
Contents
# -*- encoding : utf-8 -*- # FIXME: - this shouldn't really be with the controller specs describe CardController, "location test from old integration" do routes { Decko::Engine.routes } before do login_as "joe_user" end describe "previous location" do it "gets updated after viewing" do get :read, id: "Joe_User" assert_equal "/Joe_User", Card::Env.previous_location end it "doesn't link to nonexistent cards" do get :read, id: "Joe_User" get :read, id: "Not_Me" get :read, id: "*previous" assert_redirected_to "/Joe_User" end end end
Version data entries
15 entries across 15 versions & 2 rubygems