lib/konacha/engine.rb in konacha-3.2.5 vs lib/konacha/engine.rb in konacha-3.3.0

- old
+ new

@@ -42,10 +42,11 @@ options.javascripts ||= %w(chai konacha/iframe) options.verbose ||= false options.runner_port ||= nil options.formatters ||= self.class.formatters - app.config.assets.paths << app.root.join(options.spec_dir).to_s + spec_dirs = [options.spec_dir].flatten + app.config.assets.paths += spec_dirs.map{|d| app.root.join(d).to_s} app.config.assets.raise_runtime_errors = false end end end