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-5.3.0 test/forest_liana_test.rb
forest_liana-5.2.3 test/forest_liana_test.rb
forest_liana-5.2.2 test/forest_liana_test.rb
forest_liana-5.2.1 test/forest_liana_test.rb
forest_liana-5.2.0 test/forest_liana_test.rb
forest_liana-5.1.3 test/forest_liana_test.rb
forest_liana-5.1.2 test/forest_liana_test.rb
forest_liana-5.1.1 test/forest_liana_test.rb
forest_liana-5.1.0 test/forest_liana_test.rb
forest_liana-5.0.0 test/forest_liana_test.rb
forest_liana-5.0.0.pre.beta.0 test/forest_liana_test.rb
forest_liana-4.2.0 test/forest_liana_test.rb
forest_liana-4.1.3 test/forest_liana_test.rb
forest_liana-4.1.2 test/forest_liana_test.rb