Sha256: b0f688ee64ea3a12a386570d86986c88cbd4a841e92067bb95147dcb7d60902f

Contents?: true

Size: 962 Bytes

Versions: 1

Compression:

Stored size: 962 Bytes

Contents

require 'spec_helper'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blawzoo-plutus-0.5.3 spec/routing/transactions_routing_spec.rb