Sha256: 898090cb137c5cb151a05134324546946cd7e6898cf4f4b56c12788e48f97bba

Contents?: true

Size: 434 Bytes

Versions: 11

Compression:

Stored size: 434 Bytes

Contents

require "spec_helper"

describe ExportFilesController do
  describe "routing" do

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

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

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

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_export-0.1.1.pre6 spec/routing/export_files_routing_spec.rb
enju_export-0.1.1.pre5 spec/routing/export_files_routing_spec.rb
enju_export-0.1.1.pre4 spec/routing/export_files_routing_spec.rb
enju_export-0.1.1.pre3 spec/routing/export_files_routing_spec.rb
enju_export-0.1.1.pre2 spec/routing/export_files_routing_spec.rb
enju_export-0.1.1.pre spec/routing/export_files_routing_spec.rb
enju_export-0.1.0.pre spec/routing/export_files_routing_spec.rb
enju_export-0.1.0 spec/routing/export_files_routing_spec.rb
enju_export-0.0.3 spec/routing/export_files_routing_spec.rb
enju_export-0.0.2 spec/routing/export_files_routing_spec.rb
enju_export-0.0.1 spec/routing/export_files_routing_spec.rb