Commits

Sean Cribbs committed 9cc9fb6

Don't delete the port from the Ripple config when configuring the test server.

  • Participants
  • Parent commits 490d56b

Comments (0)

Files changed (1)

File ripple/lib/rails/generators/ripple/test/templates/test_server.rb

       {
         :app_config => {
           :riak_kv => { :js_source_dir => Ripple.config.delete(:js_source_dir) },
-          :riak_core => { :web_port => Ripple.config.delete(:port) }
+          :riak_core => { :web_port => Ripple.config[:port] || 8098 }
         },
         :bin_dir => Ripple.config.delete(:bin_dir),
         :temp_dir => Rails.root + "tmp/riak_test_server"