From 32ff41ffbe4cf57eb09b008a63e13ccdd7c754bf Mon Sep 17 00:00:00 2001 From: Joshua Clayton Date: Fri, 13 Jan 2012 12:02:08 -0500 Subject: [PATCH] Test against ActiveRecord 3.2.0.rc2 and fix bad test --- Appraisals | 4 ++ gemfiles/3.2.gemfile | 7 +++ gemfiles/3.2.gemfile.lock | 90 +++++++++++++++++++++++++++ spec/acceptance/build_stubbed_spec.rb | 1 + 4 files changed, 102 insertions(+) create mode 100644 gemfiles/3.2.gemfile create mode 100644 gemfiles/3.2.gemfile.lock diff --git a/Appraisals b/Appraisals index 85512fe7e..4ee32a90a 100644 --- a/Appraisals +++ b/Appraisals @@ -14,3 +14,7 @@ end appraise "3.1" do gem "activerecord", "~> 3.1" end + +appraise "3.2" do + gem "activerecord", "~> 3.2.0.rc2" +end diff --git a/gemfiles/3.2.gemfile b/gemfiles/3.2.gemfile new file mode 100644 index 000000000..b4113b877 --- /dev/null +++ b/gemfiles/3.2.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "http://rubygems.org" + +gem "activerecord", "~> 3.2.0.rc2" + +gemspec :path=>"../" \ No newline at end of file diff --git a/gemfiles/3.2.gemfile.lock b/gemfiles/3.2.gemfile.lock new file mode 100644 index 000000000..8fa76fe17 --- /dev/null +++ b/gemfiles/3.2.gemfile.lock @@ -0,0 +1,90 @@ +PATH + remote: /Users/joshuaclayton/dev/gems/factory_girl + specs: + factory_girl (2.3.2) + activesupport + +GEM + remote: http://rubygems.org/ + specs: + activemodel (3.2.0.rc2) + activesupport (= 3.2.0.rc2) + builder (~> 3.0.0) + activerecord (3.2.0.rc2) + activemodel (= 3.2.0.rc2) + activesupport (= 3.2.0.rc2) + arel (~> 3.0.0.rc1) + tzinfo (~> 0.3.29) + activesupport (3.2.0.rc2) + i18n (~> 0.6) + multi_json (~> 1.0) + appraisal (0.3.8) + bundler + rake + arel (3.0.0) + aruba (0.4.6) + bcat (>= 0.6.1) + childprocess (>= 0.2.0) + cucumber (>= 1.0.2) + rdiscount (>= 1.6.8) + rspec (>= 2.6.0) + bcat (0.6.2) + rack (~> 1.0) + bluecloth (2.2.0) + bourne (1.0) + mocha (= 0.9.8) + builder (3.0.0) + childprocess (0.2.9) + ffi (~> 1.0.6) + cucumber (1.0.6) + builder (>= 2.1.2) + diff-lcs (>= 1.1.2) + gherkin (~> 2.4.18) + json (>= 1.4.6) + term-ansicolor (>= 1.0.6) + diff-lcs (1.1.3) + ffi (1.0.11) + gherkin (2.4.21) + json (>= 1.4.6) + i18n (0.6.0) + json (1.6.4) + mocha (0.9.8) + rake + multi_json (1.0.4) + rack (1.4.0) + rake (0.9.2.2) + rcov (0.9.11) + rdiscount (1.6.8) + rspec (2.8.0) + rspec-core (~> 2.8.0) + rspec-expectations (~> 2.8.0) + rspec-mocks (~> 2.8.0) + rspec-core (2.8.0) + rspec-expectations (2.8.0) + diff-lcs (~> 1.1.2) + rspec-mocks (2.8.0) + sqlite3 (1.3.5) + sqlite3-ruby (1.3.3) + sqlite3 (>= 1.3.3) + term-ansicolor (1.0.7) + timecop (0.3.5) + tzinfo (0.3.31) + yard (0.7.4) + +PLATFORMS + ruby + +DEPENDENCIES + activerecord (~> 3.2.0.rc2) + appraisal (~> 0.3.8) + aruba + bluecloth + bourne + cucumber (~> 1.0.0) + factory_girl! + mocha + rcov + rspec (~> 2.0) + sqlite3-ruby + timecop + yard diff --git a/spec/acceptance/build_stubbed_spec.rb b/spec/acceptance/build_stubbed_spec.rb index acd5495c5..494294d7a 100644 --- a/spec/acceptance/build_stubbed_spec.rb +++ b/spec/acceptance/build_stubbed_spec.rb @@ -8,6 +8,7 @@ define_model('Post', :title => :string, :body => :string, + :age => :integer, :user_id => :integer) do belongs_to :user end