Sha256: 650504f81f4bde119d345dcf0e58a866d0d506f92c7df6a20a895ff5dabfb5f9

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

require 'test_helper'

class ForestLianaTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, ForestLiana
  end

  test 'config_dirs with no value set' do
    assert_equal(
      Rails.root.join('lib/forest_liana/**/*.rb'),
      ForestLiana.config_dir
    )
  end

  test 'config_dirs with a value set' do
    ForestLiana.config_dir = 'lib/custom/**/*.rb'

    assert_equal(
      Rails.root.join('lib/custom/**/*.rb'),
      ForestLiana.config_dir
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forest_liana-4.1.1 test/forest_liana_test.rb