Sha256: 8116b1a6e2eca9d80fcd46ed48649cde7f18cad63ba05646be638cc0f28c9383

Contents?: true

Size: 1.17 KB

Versions: 17

Compression:

Stored size: 1.17 KB

Contents

require "rails_helper"

RSpec.describe OrgDirectorTypesController, type: :routing do
  describe "routing" do

    it "routes to #index" do
      expect(:get => "/org_director_types").to route_to("org_director_types#index")
    end

    it "routes to #new" do
      expect(:get => "/org_director_types/new").to route_to("org_director_types#new")
    end

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

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

    it "routes to #create" do
      expect(:post => "/org_director_types").to route_to("org_director_types#create")
    end

    it "routes to #update via PUT" do
      expect(:put => "/org_director_types/1").to route_to("org_director_types#update", :id => "1")
    end

    it "routes to #update via PATCH" do
      expect(:patch => "/org_director_types/1").to route_to("org_director_types#update", :id => "1")
    end

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

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
we_bridge_rails_engine_orgs-0.1.16 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.15 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.14 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.13 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.12 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.11 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.10 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.9 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.8 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.7 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.6 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.5 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.4 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.3 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.2 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.1 spec/routing/org_director_types_routing_spec.rb
we_bridge_rails_engine_orgs-0.1.0 spec/routing/org_director_types_routing_spec.rb