Sha256: 581b5c96ed128a7849eb26c089559dbe0b5e75cc9809178a2d6968c202503e78

Contents?: true

Size: 990 Bytes

Versions: 9

Compression:

Stored size: 990 Bytes

Contents

require 'spec_helper'

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

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

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

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plutus-0.11.0 spec/routing/accounts_routing_spec.rb
plutus-0.10.1 spec/routing/accounts_routing_spec.rb
plutus-0.10.0 spec/routing/accounts_routing_spec.rb
plutus-0.9.0 spec/routing/accounts_routing_spec.rb
plutus-0.8.1 spec/routing/accounts_routing_spec.rb
plutus-0.8.0 spec/routing/accounts_routing_spec.rb
plutus-0.7.4 spec/routing/accounts_routing_spec.rb
plutus-0.7.2 spec/routing/accounts_routing_spec.rb
plutus-0.7.0 spec/routing/accounts_routing_spec.rb