Sha256: aa7fcf5d4039b698f67463c1bfeb6eb3c7abbc34685f5927fb067c4853b3a89a

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 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
    )

    ForestLiana.config_dir = nil
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forest_liana-4.1.0 test/forest_liana_test.rb
forest_liana-4.0.2 test/forest_liana_test.rb
forest_liana-4.0.1 test/forest_liana_test.rb
forest_liana-4.0.0 test/forest_liana_test.rb
forest_liana-4.0.0.pre.beta.1 test/forest_liana_test.rb
forest_liana-3.3.0 test/forest_liana_test.rb