spec/spec_helper.rb in schema_plus-1.8.9 vs spec/spec_helper.rb in schema_plus-2.0.0.pre1
- old
+ new
@@ -11,11 +11,11 @@
require 'active_record'
require 'schema_plus'
require 'schema_dev/rspec'
require 'its-it'
-SchemaDev::Rspec.setup_db
+SchemaDev::Rspec.setup
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
config.include(SchemaPlusMatchers)
@@ -58,5 +58,6 @@
ActiveSupport::Dependencies.remove_constant c.name
end
end
SimpleCov.command_name "[ruby #{RUBY_VERSION} - ActiveRecord #{::ActiveRecord::VERSION::STRING} - #{ActiveRecord::Base.connection.adapter_name}]"
+