Sha256: 7bde475765721ec6c0336c7ec8f980307cb51be6ef37acdb0732f7c889751d41

Contents?: true

Size: 545 Bytes

Versions: 174

Compression:

Stored size: 545 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 = 'lib/forest_liana/**/*.rb'
  end
end

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
forest_liana-7.7.1 test/forest_liana_test.rb
forest_liana-7.7.0 test/forest_liana_test.rb
forest_liana-7.6.14 test/forest_liana_test.rb
forest_liana-7.6.13 test/forest_liana_test.rb
forest_liana-7.6.12 test/forest_liana_test.rb
forest_liana-7.6.11 test/forest_liana_test.rb
forest_liana-7.6.10 test/forest_liana_test.rb
forest_liana-7.6.9 test/forest_liana_test.rb
forest_liana-7.6.8 test/forest_liana_test.rb
forest_liana-7.6.7 test/forest_liana_test.rb
forest_liana-7.6.6 test/forest_liana_test.rb
forest_liana-7.6.5 test/forest_liana_test.rb
forest_liana-7.6.4 test/forest_liana_test.rb
forest_liana-7.6.3 test/forest_liana_test.rb
forest_liana-7.6.2 test/forest_liana_test.rb
forest_liana-7.6.1 test/forest_liana_test.rb
forest_liana-7.6.0 test/forest_liana_test.rb
forest_liana-7.5.1 test/forest_liana_test.rb
forest_liana-7.5.0 test/forest_liana_test.rb
forest_liana-7.4.5 test/forest_liana_test.rb