Sha256: a4ecf264cd72d7a9f114c6f4c8eb4292ae2362fb0f1eae8840134a8aac9fdd48

Contents?: true

Size: 972 Bytes

Versions: 9

Compression:

Stored size: 972 Bytes

Contents

require "spec_helper"

# module Bookkeeper
#   describe PurchasesController do
#     describe "routing" do
#
#       it "routes to #index" do
#         get("/purchases").should route_to("purchases#index")
#       end
#
#       it "routes to #new" do
#         get("/purchases/new").should route_to("purchases#new")
#       end
#
#       it "routes to #show" do
#         get("/purchases/1").should route_to("purchases#show", :id => "1")
#       end
#
#       it "routes to #edit" do
#         get("/purchases/1/edit").should route_to("purchases#edit", :id => "1")
#       end
#
#       it "routes to #create" do
#         post("/purchases").should route_to("purchases#create")
#       end
#
#       it "routes to #update" do
#         put("/purchases/1").should route_to("purchases#update", :id => "1")
#       end
#
#       it "routes to #destroy" do
#         delete("/purchases/1").should route_to("purchases#destroy", :id => "1")
#       end
#
#     end
#   end
# end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bookkeeper-0.0.7 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.6 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.5 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.4 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.3 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.2 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.1 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.1.beta2 spec/routing/bookkeeper/purchases_routing_spec.rb
bookkeeper-0.0.1.beta1 spec/routing/bookkeeper/purchases_routing_spec.rb