Sha256: 33253feca4100ef6ea8ec3c4839e81f84f0a98021b749b2ad4a72f90e2e8f0fc

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

require 'test_helper'

class InheritNavigationTest < ActiveSupport::IntegrationCase

  setup do
    Capybara.current_driver = Capybara.javascript_driver
  end

  test 'default index' do
    visit('/rails/routes')
    # save_and_open_page
    assert has_content?('foo_index')
    assert has_content?('/foo(.:format)')
    assert has_content?('foo#index')
  end

  test 'JS show/hide _path' do
    visit('/rails/routes')
    assert has_content?('foo_index_path')
    click_link('Url')
    assert has_content?('foo_index_url')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sextant-0.2.4 test/integration/sextant_test.rb
sextant-0.2.3 test/integration/sextant_test.rb
sextant-0.2.2 test/integration/sextant_test.rb