spec/rails_helper.rb in bemer-0.2.0 vs spec/rails_helper.rb in bemer-0.3.0
- old
+ new
@@ -28,6 +28,12 @@
config.filter_rails_from_backtrace!
# arbitrary gems may also be filtered via:
# config.filter_gems_from_backtrace("gem name")
config.fuubar_progress_bar_options = { format: "Rails: #{::Rails::VERSION::STRING} %c/%C |%w>%i| %e " }
+
+ config.define_derived_metadata(file_path: %r{/spec/action_view/}) do |metadata|
+ metadata[:type] = :view
+ end
+
+ config.include Bemer::Test::ConfigurationHelpers
end