Permalink
Browse files

Using propper way how to recognize new Sequel.

  • Loading branch information...
pk committed May 8, 2009
1 parent a8bbcfa commit a6e88e0ff8e97c5663fdab92b10c2a8e90527320
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
@@ -15,7 +15,7 @@
:merb_root => File.dirname(__FILE__)
# Load extensions if we use new versions of Sequel
-require 'sequel/extensions/migration' if /^(2.12|3)/ =~ Sequel.version
+require 'sequel/extensions/migration' if Merb::Orms::Sequel.new_sequel?
Spec::Runner.configure do |config|
config.include Merb::Test::RequestHelper

0 comments on commit a6e88e0

Please sign in to comment.