Sha256: bb2ab682543016353338ebd68707a260a0d2c73f2ea327b48d7f051d2d3cda94

Contents?: true

Size: 981 Bytes

Versions: 4

Compression:

Stored size: 981 Bytes

Contents

require 'spec_helper'

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

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutus-0.11.0 spec/routing/entries_routing_spec.rb
plutus-0.10.1 spec/routing/entries_routing_spec.rb
plutus-0.10.0 spec/routing/entries_routing_spec.rb
plutus-0.9.0 spec/routing/entries_routing_spec.rb