Sha256: de14d9efc4aeea7b5759731587f4d07f9d9390a54d324823d5ebf5825a71f774
Contents?: true
Size: 1.5 KB
Versions: 87
Compression:
Stored size: 1.5 KB
Contents
require "spec_helper" describe ManifestationRelationshipTypesController do describe "routing" do it "recognizes and generates #index" do { :get => "/manifestation_relationship_types" }.should route_to(:controller => "manifestation_relationship_types", :action => "index") end it "recognizes and generates #new" do { :get => "/manifestation_relationship_types/new" }.should route_to(:controller => "manifestation_relationship_types", :action => "new") end it "recognizes and generates #show" do { :get => "/manifestation_relationship_types/1" }.should route_to(:controller => "manifestation_relationship_types", :action => "show", :id => "1") end it "recognizes and generates #edit" do { :get => "/manifestation_relationship_types/1/edit" }.should route_to(:controller => "manifestation_relationship_types", :action => "edit", :id => "1") end it "recognizes and generates #create" do { :post => "/manifestation_relationship_types" }.should route_to(:controller => "manifestation_relationship_types", :action => "create") end it "recognizes and generates #update" do { :put => "/manifestation_relationship_types/1" }.should route_to(:controller => "manifestation_relationship_types", :action => "update", :id => "1") end it "recognizes and generates #destroy" do { :delete => "/manifestation_relationship_types/1" }.should route_to(:controller => "manifestation_relationship_types", :action => "destroy", :id => "1") end end end
Version data entries
87 entries across 87 versions & 1 rubygems