lib/konacha/engine.rb in konacha-3.3.0 vs lib/konacha/engine.rb in konacha-3.4.0
- old
+ new
@@ -1,7 +1,7 @@
module Konacha
- class Engine < Rails::Engine
+ class Engine < ::Rails::Engine
# Do not mess up the application's namespace.
# http://api.rubyonrails.org/classes/Rails/Engine.html#label-Isolated+Engine
isolate_namespace Konacha
config.konacha = ActiveSupport::OrderedOptions.new
@@ -34,9 +34,10 @@
options = app.config.konacha
options.spec_dir ||= "spec/javascripts"
options.spec_matcher ||= /_spec\.|_test\./
options.port ||= 3500
+ options.host ||= 'localhost'
options.application ||= self.class.application(app)
options.driver ||= :selenium
options.stylesheets ||= %w(application)
options.javascripts ||= %w(chai konacha/iframe)
options.verbose ||= false