1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

Test against ActiveRecord 3.2.0.rc2 and fix bad test

This commit is contained in:
Joshua Clayton 2012-01-13 12:02:08 -05:00
parent 5246fdad26
commit 32ff41ffbe
4 changed files with 102 additions and 0 deletions

View file

@ -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

7
gemfiles/3.2.gemfile Normal file
View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "http://rubygems.org"
gem "activerecord", "~> 3.2.0.rc2"
gemspec :path=>"../"

90
gemfiles/3.2.gemfile.lock Normal file
View file

@ -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

View file

@ -8,6 +8,7 @@ describe "a generated stub instance" do
define_model('Post', :title => :string,
:body => :string,
:age => :integer,
:user_id => :integer) do
belongs_to :user
end