diff --git a/lib/flowerbox/test_environment/cucumber.rb b/lib/flowerbox/test_environment/cucumber.rb index c0ba320..fd98942 100644 --- a/lib/flowerbox/test_environment/cucumber.rb +++ b/lib/flowerbox/test_environment/cucumber.rb @@ -12,7 +12,7 @@ module Flowerbox def inject_into(sprockets) super - @sprockets.register_engine('.feature', Flowerbox::Delivery::Tilt::FeatureTemplate) + @sprockets.register_engine('.feature', Flowerbox::Tilt::FeatureTemplate) end def global_system_files @@ -84,7 +84,9 @@ JS end end -module Flowerbox::Delivery::Tilt - autoload :FeatureTemplate, 'flowerbox/delivery/tilt/feature_template' +module Flowerbox + module Tilt + autoload :FeatureTemplate, 'flowerbox/tilt/feature_template' + end end diff --git a/lib/flowerbox/delivery/tilt/feature_template.rb b/lib/flowerbox/tilt/feature_template.rb similarity index 92% rename from lib/flowerbox/delivery/tilt/feature_template.rb rename to lib/flowerbox/tilt/feature_template.rb index 12cf32f..d5e734a 100644 --- a/lib/flowerbox/delivery/tilt/feature_template.rb +++ b/lib/flowerbox/tilt/feature_template.rb @@ -1,6 +1,6 @@ require 'tilt' -module Flowerbox::Delivery::Tilt +module Flowerbox::Tilt class FeatureTemplate < Tilt::Template self.default_mime_type = 'application/javascript'