spec/dummy/config.ru in active_admin-state_machine-0.1.1 vs spec/dummy/config.ru in active_admin-state_machine-1.0.0.pre1
- old
+ new
@@ -1,4 +1,6 @@
# This file is used by Rack-based servers to start the application.
-require ::File.expand_path('../config/environment', __FILE__)
-run Dummy::Application
+require_relative "config/environment"
+
+run Rails.application
+Rails.application.load_server