Sha256: b1068bc0afde5b89fdebdf2a85559b1c191d3311f0428d6f7c3d844cb4a31b82
Contents?: true
Size: 1.39 KB
Versions: 9
Compression:
Stored size: 1.39 KB
Contents
require 'rails_helper' describe AgentRelationshipTypesController do describe "routing" do it "recognizes and generates #index" do { :get => "/agent_relationship_types" }.should route_to(:controller => "agent_relationship_types", :action => "index") end it "recognizes and generates #new" do { :get => "/agent_relationship_types/new" }.should route_to(:controller => "agent_relationship_types", :action => "new") end it "recognizes and generates #show" do { :get => "/agent_relationship_types/1" }.should route_to(:controller => "agent_relationship_types", :action => "show", :id => "1") end it "recognizes and generates #edit" do { :get => "/agent_relationship_types/1/edit" }.should route_to(:controller => "agent_relationship_types", :action => "edit", :id => "1") end it "recognizes and generates #create" do { :post => "/agent_relationship_types" }.should route_to(:controller => "agent_relationship_types", :action => "create") end it "recognizes and generates #update" do { :put => "/agent_relationship_types/1" }.should route_to(:controller => "agent_relationship_types", :action => "update", :id => "1") end it "recognizes and generates #destroy" do { :delete => "/agent_relationship_types/1" }.should route_to(:controller => "agent_relationship_types", :action => "destroy", :id => "1") end end end
Version data entries
9 entries across 8 versions & 2 rubygems