spec/spec_helper.rb in paginate-1.0.1 vs spec/spec_helper.rb in paginate-2.0.0
- old
+ new
@@ -10,10 +10,11 @@
require "active_support/all"
require "action_view"
require "action_controller"
-ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
+ActiveRecord::Base
+ .establish_connection(:adapter => "sqlite3", :database => ":memory:")
Rails = OpenStruct.new(:version => ActiveRecord::VERSION::STRING)
require "paginate"
load "spec/schema.rb"