Sha256: 74fa068bc713bd4b2b4604511c2febfbb0da9f9f564b5f161451601100ba6fdd

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 Bytes

Contents

require 'test_helper'

module Workarea
  module Admin
    class ChangesetsHelperTest < ViewTest
      def test_releasable_icon_path
        assert_equal(
          releasable_icon_path(nil),
          'workarea/admin/icons/release.svg'
        )

        assert_equal(
          releasable_icon_path('product'),
          'workarea/admin/icons/products.svg'
        )

        assert_equal(
          releasable_icon_path('variants'),
          'workarea/admin/icons/variants.svg'
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 test/helpers/workarea/admin/changesets_helper_test.rb
workarea-admin-3.5.26 test/helpers/workarea/admin/changesets_helper_test.rb
workarea-admin-3.5.25 test/helpers/workarea/admin/changesets_helper_test.rb