lib/konacha/engine.rb in konacha-0.9.0 vs lib/konacha/engine.rb in konacha-0.9.1
- old
+ new
@@ -6,11 +6,13 @@
Rack::Builder.app do
map app.config.assets.prefix do
run app.assets
end
- run Konacha::Engine
+ map "/" do
+ run Konacha::Engine
+ end
end
end
initializer "konacha.environment" do |app|
unless app.config.assets.enabled
@@ -18,10 +20,10 @@
end
options = app.config.konacha
options.spec_dir ||= "spec/javascripts"
- options.port ||= 8888
+ options.port ||= 3500
options.interface ||= :bdd
options.application ||= self.class.application(app)
options.driver ||= :selenium
app.config.assets.paths << app.root.join(options.spec_dir).to_s