Sha256: ee543074c27ea5576bafd9fa85f807fa8e1f903984b4bdb8391d969cccca2b8e
Contents?: true
Size: 709 Bytes
Versions: 8
Compression:
Stored size: 709 Bytes
Contents
require 'test_helper' class GretelTest < ActiveSupport::TestCase setup do Gretel.reset! end test "defaults" do assert_equal [Rails.root.join("config", "breadcrumbs.rb"), Rails.root.join("config", "breadcrumbs", "**", "*.rb"), Rails.root.join("app", "views", "breadcrumbs", "**", "*.rb")], Gretel.breadcrumb_paths[-3..-1] assert_equal ["development"], Gretel.reload_environments assert !Gretel.suppress_deprecation_warnings? end test "configuration block" do Gretel.configure do |config| config.reload_environments << "staging" end assert_equal ["development", "staging"], Gretel.reload_environments end end
Version data entries
8 entries across 8 versions & 3 rubygems