Sha256: 36a2f83e0cc164a9b71b903cea9908b1ee346900a3bcb8a05e72f7239bcfbc3e

Contents?: true

Size: 882 Bytes

Versions: 87

Compression:

Stored size: 882 Bytes

Contents

require "spec_helper"

describe CreateTypesController do
  describe "routing" do

    it "routes to #index" do
      get("/create_types").should route_to("create_types#index")
    end

    it "routes to #new" do
      get("/create_types/new").should route_to("create_types#new")
    end

    it "routes to #show" do
      get("/create_types/1").should route_to("create_types#show", :id => "1")
    end

    it "routes to #edit" do
      get("/create_types/1/edit").should route_to("create_types#edit", :id => "1")
    end

    it "routes to #create" do
      post("/create_types").should route_to("create_types#create")
    end

    it "routes to #update" do
      put("/create_types/1").should route_to("create_types#update", :id => "1")
    end

    it "routes to #destroy" do
      delete("/create_types/1").should route_to("create_types#destroy", :id => "1")
    end

  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 spec/routing/create_types_routing_spec.rb
enju_biblio-0.2.0.beta.2 spec/routing/create_types_routing_spec.rb
enju_biblio-0.2.0.beta.1 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.3 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.2 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.1 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre71 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre70 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre69 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre68 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre67 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre66 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre65 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre64 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre63 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre62 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre61 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre60 spec/routing/create_types_routing_spec.rb
enju_biblio-0.1.0.pre59 spec/routing/create_types_routing_spec.rb