Sha256: 04ccb41d67778d775973ec892ff43f1c174bb1299d0cb9c814db6751131a8c8f

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class ErdIndexTest < ActionDispatch::IntegrationTest
  test 'with author and book model' do
    visit '/erd'

    if Capybara::VERSION > '3'
      assert has_content? 'Author', :minimum => 1
    else
      assert has_content? 'Author'
    end
    assert has_content? 'name'
    assert has_content? 'Book'
    assert has_content? 'title'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
erd-0.8.0 test/features/erd_test.rb
erd-0.7.0 test/features/erd_test.rb
erd-0.6.4 test/features/erd_test.rb
erd-0.6.3 test/features/erd_test.rb
erd-0.6.2 test/features/erd_test.rb
erd-0.6.1 test/features/erd_test.rb
erd-0.6.0 test/features/erd_test.rb
erd-0.5.0 test/features/erd_test.rb