Sha256: f2a6c8dd772a642a657fd5a332854fa04714ceb60ef1ac3451ac2ef1be3c47c9
Contents?: true
Size: 1.1 KB
Versions: 11
Compression:
Stored size: 1.1 KB
Contents
require "rails_helper" describe ::Dorsale::CustomerVault::ActivityTypesController do routes { ::Dorsale::Engine.routes } describe "routing" do it "#index" do expect(get "/customer_vault/activity_types").to \ route_to("dorsale/customer_vault/activity_types#index") end it "#new" do expect(get "/customer_vault/activity_types/new").to \ route_to("dorsale/customer_vault/activity_types#new") end it "#create" do expect(post "/customer_vault/activity_types").to \ route_to("dorsale/customer_vault/activity_types#create") end it "#show" do expect(get "/customer_vault/activity_types/3").to_not be_routable end it "#edit" do expect(get "/customer_vault/activity_types/3/edit").to \ route_to("dorsale/customer_vault/activity_types#edit", id: "3") end it "#update" do expect(patch "/customer_vault/activity_types/3").to \ route_to("dorsale/customer_vault/activity_types#update", id: "3") end it "#destroy" do expect(delete "/customer_vault/activity_types/3").to_not be_routable end end end
Version data entries
11 entries across 11 versions & 1 rubygems