test/gretel_test.rb in gretel-3.0.3 vs test/gretel_test.rb in gretel-3.0.4
- old
+ new
@@ -4,11 +4,13 @@
setup do
Gretel.reset!
end
test "defaults" do
- assert_equal [Rails.root.join("config", "breadcrumbs.rb"), Rails.root.join("config", "breadcrumbs", "**", "*.rb")],
- Gretel.breadcrumb_paths[-2..-1]
+ 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
\ No newline at end of file