Sha256: 5d107fecaa350b980013f98a0296076363131da01055fc258cb49421ef15c060

Contents?: true

Size: 328 Bytes

Versions: 7

Compression:

Stored size: 328 Bytes

Contents

require 'test_helper'

module Spina
  class PagesTest < ActionDispatch::IntegrationTest
    setup do
      @routes = Engine.routes
    end

    test "view homepage" do
      get "/"
      assert_select 'h1', 'Homepage'
    end

    test "view show page" do
      get "/about"
      assert_select 'h1', 'About'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spina-0.8.3 test/integration/spina/pages_test.rb
spina-0.8.2 test/integration/spina/pages_test.rb
spina-0.8.1 test/integration/spina/pages_test.rb
spina-0.8.0 test/integration/spina/pages_test.rb
spina-0.7.3 test/integration/spina/pages_test.rb
spina-0.7.2 test/integration/spina/pages_test.rb
spina-0.7.0 test/integration/spina/pages_test.rb