Skip to content

Commit

Permalink
testing again with ActiveModel 3.2, 4.0 and 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Jun 29, 2014
1 parent 94b4b0c commit 03ccfc8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -31,6 +31,11 @@ rvm:
- 2.1.0-preview2
- rbx-2.2.1

env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"

notifications:
email:
- raphael.valyi@akretion.com
3 changes: 1 addition & 2 deletions Gemfile
Expand Up @@ -2,8 +2,7 @@ source "http://rubygems.org"

gemspec

#rails_version = ENV["RAILS_VERSION"] || "4.1"
#gem "activemodel", "~> #{rails_version}"
gem "activemodel", "~> #{ENV["RAILS_VERSION"]}" if ENV["RAILS_VERSION"]

group :test do
gem 'rspec'
Expand Down
2 changes: 1 addition & 1 deletion spec/ooor_spec.rb
Expand Up @@ -730,7 +730,7 @@
end

s1.object_id.should_not == s2.object_id
obj1.should == obj2
obj1.should == obj2 unless ActiveModel::VERSION::STRING.start_with? "3.2" #for some reason this doesn't work with Rails 3.2
end


Expand Down

0 comments on commit 03ccfc8

Please sign in to comment.