Sha256: 8fd877dbd82049b9ca43c3de8a5d0941aeea59a42f2aa8bf338422636320573e

Contents?: true

Size: 882 Bytes

Versions: 68

Compression:

Stored size: 882 Bytes

Contents

require "spec_helper"

describe BudgetTypesController do
  describe "routing" do

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

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

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

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

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

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

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

  end
end

Version data entries

68 entries across 66 versions & 2 rubygems

Version Path
enju_library-0.2.5 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.4 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.3 spec/routing/budget_types_routing_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/routing/budget_types_routing_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/routing/budget_types_routing_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/routing/budget_types_routing_spec.rb
enju_library-0.2.2 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.1 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.10 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.9 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.8 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.7 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.6 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.5 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.4 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.3 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.2 spec/routing/budget_types_routing_spec.rb
enju_library-0.2.0.beta.1 spec/routing/budget_types_routing_spec.rb
enju_library-0.1.2 spec/routing/budget_types_routing_spec.rb