Sha256: dda7ca97cc48949b4fc65c29851ec2a076cea80328ddb173402c1953b55f609a
Contents?: true
Size: 574 Bytes
Versions: 6
Compression:
Stored size: 574 Bytes
Contents
require "spec_helper" RSpec.describe "routes for Pinfirmable", type: :routing do it "routes /users/confirmemail to the pinfirmable controller" do expect(get("/users/confirmemail")).to route_to("devise/pinfirmable#new") end it "routes /users/pinfirmable to the pinfirmable controller" do expect(post("/users/pinfirmable")).to route_to("devise/pinfirmable#create") end it "routes /users/pinfirmable/resend_email to the pinfirmable controller" do expect(post("/users/pinfirmable/resend_email")).to route_to("devise/pinfirmable#resend_email") end end
Version data entries
6 entries across 6 versions & 1 rubygems