Sha256: e24d30388f9ea0ebb0c4dee4c15b94a58bad4026f69075aa5144e0511aa4d45f

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

require 'spec_helper'

module Plutus
  describe TransactionsController do
    # Run these tests if you enable routing in your rails app. See README 
    #describe "routing" do
      #it "recognizes and generates #index" do
        #{ :get => "/transactions" }.should route_to(:controller => "transactions", :action => "index")
      #end

      #it "recognizes and generates #show" do
        #{ :get => "/transactions/1" }.should route_to(:controller => "transactions", :action => "show", :id => "1")
      #end

      #it "recognizes and generates #edit" do
        #{ :get => "/transactions/1/edit" }.should_not be_routable
      #end

      #it "recognizes and generates #create" do
        #{ :post => "/transactions" }.should_not be_routable
      #end

      #it "recognizes and generates #update" do
        #{ :put => "/transactions/1" }.should_not be_routable
      #end

      #it "recognizes and generates #destroy" do
        #{ :delete => "/transactions/1" }.should_not be_routable
      #end
    #end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
plutus-0.8.1 spec/routing/transactions_routing_spec.rb
plutus-0.8.0 spec/routing/transactions_routing_spec.rb
plutus-0.7.4 spec/routing/transactions_routing_spec.rb
plutus-0.7.2 spec/routing/transactions_routing_spec.rb
plutus-0.7.0 spec/routing/transactions_routing_spec.rb