Sha256: dd7a59047515467deb0f1b0f089cb8a2b1e7dfe85ad36b96e0f474f5ea12f7aa

Contents?: true

Size: 403 Bytes

Versions: 16

Compression:

Stored size: 403 Bytes

Contents

require "spec_helper"

module MechanizeStore
  describe FlagsController do
    routes { MechanizeStore::Engine.routes }

    describe "routing" do

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mechanize_store-0.0.19 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.18 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.17 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.16 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.15 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.14 spec/routing/mechanize_store/orders_routing_spec.rb
mechanize_store-0.0.13 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.12 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.11 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.10 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.8 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.7 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.6 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.5 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.4 spec/routing/store/orders_routing_spec.rb
mechanize_store-0.0.3 spec/routing/store/orders_routing_spec.rb