lib/radiant/initializer.rb in radiant-1.1.3 vs lib/radiant/initializer.rb in radiant-1.1.4
- old
+ new
@@ -65,10 +65,10 @@
#
def default_extension_paths
env = ENV["RAILS_ENV"] || RAILS_ENV
paths = [Rails.root + 'vendor/extensions']
paths.unshift(Radiant.root + "vendor/extensions") unless Rails.root == Radiant.root
- paths.unshift(Radiant.root + "test/fixtures/extensions") if env == "test"
+ paths.unshift(Radiant.root + "test/fixtures/extensions") if env =~ /test|cucumber/
paths
end
# The list of extensions, expanded and in load order, that results from combining all the extension
# configuration directives. These are the extensions that will actually be loaded or migrated,