]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/konacha.rb
Move the default_url_options config to the action_mailer initializer
[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