Sha256: a93b96cb0d63c64cbc2f9bb18f34c9d3e2cad998c910f990e2c2daf0771c96b9

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

require 'test_helper'

class TopicShowTest < ActionDispatch::IntegrationTest
  
  test "show duration near title" do
    visit(kinney.topic_path(kinney_topics(:roots)))
    assert page.has_selector?('h1', :text => 'Roots')
    assert page.has_content?('Growing Up in Edgecombe County')
    assert page.has_content?('0:44')
  end

  test "topics page should include full name" do
    visit(kinney.topic_path(kinney_topics(:roots)))
    assert page.has_content?('Edward Norris Tolson')
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kinney-0.0.3 test/integration/topics_show_test.rb
kinney-0.0.2 test/integration/topics_show_test.rb
kinney-0.0.1 test/integration/topics_show_test.rb