Sha256: 2ee1c90e0f04a9fd5b4e778a1c8d2238667969d483af6e077ba9f37338be7fe8

Contents?: true

Size: 956 Bytes

Versions: 8

Compression:

Stored size: 956 Bytes

Contents

require "spec_helper"

describe UserImportFilesController do
  describe "routing" do

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

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

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

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

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

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

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

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc17 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc16 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc15 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc14 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc13 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc12 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc11 spec/routing/resource_import_files_routing_spec.rb
enju_leaf-1.1.0.rc10 spec/routing/resource_import_files_routing_spec.rb