]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/konacha.rb
Added explanation about discussions on open changesets
[rails.git] / config / initializers / konacha.rb
index f97b19aaf73087f915f8d45fad2f86f031ecabd4..f0145f5e0a29b421b23874bec7c10102ab5c1775 100644 (file)
@@ -1,5 +1,7 @@
-Konacha.configure do |config|
-  require "capybara/poltergeist"
-  config.spec_dir = "test/javascripts"
-  config.driver   = :poltergeist
-end if defined?(Konacha)
+if defined?(Konacha)
+  Konacha.configure do |config|
+    require "capybara/poltergeist"
+    config.spec_dir = "test/javascripts"
+    config.driver   = :poltergeist
+  end
+end