Sha256: 155ca4f5f873f52fe3bcd81dd9d36c38b045857385e9d6abc6d0e25e0cf5fb0b

Contents?: true

Size: 399 Bytes

Versions: 29

Compression:

Stored size: 399 Bytes

Contents

require 'test_helper'
ActiveScaffold::Bridges::PaperTrail.prepare

class PaperTrailTest < ActionController::TestCase
  tests AddressesController

  def test_deleted_route
    with_routing do |map|
      map.draw do
        resources :addresses do
          as_routes
        end
      end
      assert_routing '/addresses/deleted', :controller => 'addresses', :action => 'deleted'
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
active_scaffold-3.4.43 test/bridges/paper_trail_test.rb
active_scaffold-3.4.42 test/bridges/paper_trail_test.rb
active_scaffold-3.4.41.1 test/bridges/paper_trail_test.rb
active_scaffold-3.4.41 test/bridges/paper_trail_test.rb
active_scaffold-3.4.40 test/bridges/paper_trail_test.rb
active_scaffold-3.4.39 test/bridges/paper_trail_test.rb
active_scaffold-3.4.38 test/bridges/paper_trail_test.rb
active_scaffold-3.4.37 test/bridges/paper_trail_test.rb
active_scaffold-3.4.36 test/bridges/paper_trail_test.rb
active_scaffold-3.4.35 test/bridges/paper_trail_test.rb
active_scaffold-3.4.34 test/bridges/paper_trail_test.rb
active_scaffold-3.4.33 test/bridges/paper_trail_test.rb
active_scaffold-3.4.32 test/bridges/paper_trail_test.rb
active_scaffold-3.4.31 test/bridges/paper_trail_test.rb
active_scaffold-3.4.30 test/bridges/paper_trail_test.rb
active_scaffold-3.4.29 test/bridges/paper_trail_test.rb
active_scaffold-3.4.28 test/bridges/paper_trail_test.rb
active_scaffold-3.4.27 test/bridges/paper_trail_test.rb
active_scaffold-3.4.26 test/bridges/paper_trail_test.rb
active_scaffold-3.4.25 test/bridges/paper_trail_test.rb