Sha256: 4cbb451cf168f0ab24925e6d1cb3c741623b1c70c61e7547252851e0539c0462

Contents?: true

Size: 372 Bytes

Versions: 16

Compression:

Stored size: 372 Bytes

Contents

require 'test_helper'

class CitiesControllerTest < ActionController::TestCase
  test 'wagon view paths preceed application view paths' do
    paths = @controller.view_paths.map { |p| p }
    i_app = paths.index { |p| p.to_s.ends_with?('/dummy/app/views') }
    i_wagon = paths.index { |p| p.to_s.ends_with?('/superliner/app/views') }
    assert i_wagon < i_app
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wagons-0.8.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.7.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.6.1 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.6.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.5.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.8 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.7 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.6 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.5 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.4 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.3 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.2 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.1 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.4.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.3.1 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb
wagons-0.3.0 test/dummy/vendor/wagons/superliner/test/controllers/cities_controller_test.rb