Sha256: 49f55f640b4f6fc24b210b580dbda9c746686fd4cd06045fddbe9a54e6282684

Contents?: true

Size: 461 Bytes

Versions: 36

Compression:

Stored size: 461 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
        concern :active_scaffold, ActiveScaffold::Routing::Basic.new
        resources :addresses, concerns: :active_scaffold
      end
      assert_routing '/addresses/deleted', :controller => 'addresses', :action => 'deleted'
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
active_scaffold-3.7.8 test/bridges/paper_trail_test.rb
active_scaffold-3.7.7 test/bridges/paper_trail_test.rb
active_scaffold-3.7.6 test/bridges/paper_trail_test.rb
active_scaffold-3.7.5 test/bridges/paper_trail_test.rb
active_scaffold-3.7.2 test/bridges/paper_trail_test.rb
active_scaffold-3.7.1 test/bridges/paper_trail_test.rb
active_scaffold-3.7.0 test/bridges/paper_trail_test.rb
active_scaffold-3.6.20 test/bridges/paper_trail_test.rb
active_scaffold-3.6.19 test/bridges/paper_trail_test.rb
active_scaffold-3.6.17 test/bridges/paper_trail_test.rb
active_scaffold-3.6.15 test/bridges/paper_trail_test.rb
active_scaffold-3.6.14 test/bridges/paper_trail_test.rb
active_scaffold-3.6.13 test/bridges/paper_trail_test.rb
active_scaffold-3.6.12 test/bridges/paper_trail_test.rb
active_scaffold-3.6.11.1 test/bridges/paper_trail_test.rb
active_scaffold-3.6.11 test/bridges/paper_trail_test.rb
active_scaffold-3.6.10 test/bridges/paper_trail_test.rb
active_scaffold-3.6.9 test/bridges/paper_trail_test.rb
active_scaffold-3.6.8 test/bridges/paper_trail_test.rb
active_scaffold-3.6.6 test/bridges/paper_trail_test.rb