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.6.5 test/bridges/paper_trail_test.rb
active_scaffold-3.6.4.1 test/bridges/paper_trail_test.rb
active_scaffold-3.6.4 test/bridges/paper_trail_test.rb
active_scaffold-3.6.3 test/bridges/paper_trail_test.rb
active_scaffold-3.6.2 test/bridges/paper_trail_test.rb
active_scaffold-3.6.1 test/bridges/paper_trail_test.rb
active_scaffold-3.6.0 test/bridges/paper_trail_test.rb
active_scaffold-3.6.0.rc2 test/bridges/paper_trail_test.rb
active_scaffold-3.6.0.rc1 test/bridges/paper_trail_test.rb
active_scaffold-3.5.5 test/bridges/paper_trail_test.rb
active_scaffold-3.6.0.pre test/bridges/paper_trail_test.rb
active_scaffold-3.5.4 test/bridges/paper_trail_test.rb
active_scaffold-3.5.3 test/bridges/paper_trail_test.rb
active_scaffold-3.5.2 test/bridges/paper_trail_test.rb
active_scaffold-3.5.1 test/bridges/paper_trail_test.rb
active_scaffold-3.5.0 test/bridges/paper_trail_test.rb