Sha256: d3232cfe29eb5e0cad66855bde5aed36b37ef0c7b5bc893abb7a0a1cfac2deea
Contents?: true
Size: 926 Bytes
Versions: 1
Compression:
Stored size: 926 Bytes
Contents
require 'spec_helper' 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blawzoo-plutus-0.5.3 | spec/routing/accounts_routing_spec.rb |