Sha256: ecc59cc09032d0497295d457c5bf5b8f43cb1f34aa46d314e52e6438cfa4b74e

Contents?: true

Size: 640 Bytes

Versions: 6

Compression:

Stored size: 640 Bytes

Contents

require 'test_helper'

class PeopleControllerTest < ActionController::TestCase
  test 'extensions are rendered with locals' do
    get :index
    assert_template 'index'
    assert_template '_list_superliner'
    assert_template '_list_main'
    assert_template '_sidebar'
    assert_template '_sidebar_superliner'
    assert_match /42/, @response.body
    assert_match /Superliner Details/, @response.body
    assert_match /List Superliner/, @response.body
    assert_no_match /List Main/, @response.body
    assert_no_match /List Superliner\s*List Superliner/m, @response.body
    assert_no_match /Main Details/, @response.body
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wagons-0.4.8 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb
wagons-0.4.7 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb
wagons-0.4.6 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb
wagons-0.4.5 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb
wagons-0.4.4 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb
wagons-0.4.3 test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb