Sha256: e100e259948f953647f98ffa05e5bd634c2c653be2f8f26fcb5fbc7b35a977a7

Contents?: true

Size: 584 Bytes

Versions: 6

Compression:

Stored size: 584 Bytes

Contents

require 'test_helper'

module Workarea
  module Admin
    class BlogTaxonomySystemTest < Workarea::SystemTest
      include Admin::IntegrationTest

      def test_blog_and_blog_entry_can_be_added_as_taxon
        visit admin.navigation_taxons_path
        find('.menu-editor__add-item-button--last-position').click

        assert(page.has_content?('Add Taxonomy'))

        dropdown = page.find('#navigable_type')
        options = dropdown.all('option').map(&:text)
        assert_includes(options, 'Blog')
        assert_includes(options, 'Blog Entry')
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-blog-3.5.2 test/system/workarea/admin/blog_taxonomy_system_test.rb
workarea-blog-3.5.1 test/system/workarea/admin/blog_taxonomy_system_test.rb
workarea-blog-3.5.0 test/system/workarea/admin/blog_taxonomy_system_test.rb
workarea-blog-3.4.9 test/system/workarea/admin/blog_taxonomy_system_test.rb
workarea-blog-3.4.8 test/system/workarea/admin/blog_taxonomy_system_test.rb
workarea-blog-3.4.7 test/system/workarea/admin/blog_taxonomy_system_test.rb