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-9.7.0 test/forest_liana_test.rb
forest_liana-9.6.4 test/forest_liana_test.rb
forest_liana-9.6.3 test/forest_liana_test.rb
forest_liana-9.6.0 test/forest_liana_test.rb
forest_liana-9.5.7 test/forest_liana_test.rb
forest_liana-9.5.6 test/forest_liana_test.rb
forest_liana-9.5.5 test/forest_liana_test.rb
forest_liana-9.5.4 test/forest_liana_test.rb
forest_liana-9.5.3 test/forest_liana_test.rb
forest_liana-9.5.2 test/forest_liana_test.rb
forest_liana-9.5.1 test/forest_liana_test.rb
forest_liana-9.5.0 test/forest_liana_test.rb
forest_liana-9.4.3 test/forest_liana_test.rb
forest_liana-9.4.2 test/forest_liana_test.rb
forest_liana-9.4.1 test/forest_liana_test.rb
forest_liana-9.4.0 test/forest_liana_test.rb
forest_liana-8.3.3 test/forest_liana_test.rb
forest_liana-9.3.16 test/forest_liana_test.rb
forest_liana-9.3.15 test/forest_liana_test.rb
forest_liana-9.3.14 test/forest_liana_test.rb