Skip to content

Commit

Permalink
do not run CPK tests with activerecord 2.3.1x
Browse files Browse the repository at this point in the history
  • Loading branch information
rsim committed May 13, 2011
1 parent b710893 commit 9a257f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

ENV['RAILS_GEM_VERSION'] ||= '3.1-master'
NO_COMPOSITE_PRIMARY_KEYS = true if ENV['RAILS_GEM_VERSION'] >= '2.3.5'
NO_COMPOSITE_PRIMARY_KEYS = true if ENV['RAILS_GEM_VERSION'] >= '2.3.5' || ENV['RAILS_GEM_VERSION'] =~ /^2\.3\.1\d$/

puts "==> Running specs with Rails version #{ENV['RAILS_GEM_VERSION']}"

Expand Down

0 comments on commit 9a257f0

Please sign in to comment.