Re: [rspec-users] Rails 3 / RSpec 2 use_transactional_fixtures and after_commit

2011-04-20 Thread Mat B.
Michael Guterl wrote in post #980563: > Hi Kurt, > > On Tue, Feb 8, 2011 at 8:32 PM, Kurt wrote: >> >> Did you add these two lines to your spec_helper.rb file or somewhere else? >> >> ActiveRecord::Base.send(:include, AfterCommit::AfterSavepoint) >> ActiveRecord::Base.include_after_savepoint_exten

Re: [rspec-users] Rails 3 / RSpec 2 use_transactional_fixtures and after_commit

2011-02-09 Thread Kurt
Thanks -- that confirms the results of our experiments. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Rails 3 / RSpec 2 use_transactional_fixtures and after_commit

2011-02-09 Thread Michael Guterl
Hi Kurt, On Tue, Feb 8, 2011 at 8:32 PM, Kurt wrote: > We're just running into it now, but we're using after_commit in Rails 3 for > the first time.  The callback appears not to fire in our specs -- I noticed > your posting but have not had luck getting the gem to load.  Bundler 1.0.7 > requires

Re: [rspec-users] Rails 3 / RSpec 2 use_transactional_fixtures and after_commit

2011-02-08 Thread Kurt
We're just running into it now, but we're using after_commit in Rails 3 for the first time. The callback appears not to fire in our specs -- I noticed your posting but have not had luck getting the gem to load. Bundler 1.0.7 requires the gem, and it generates this: /Users/kurtsnyder/.rvm/gems

[rspec-users] Rails 3 / RSpec 2 use_transactional_fixtures and after_commit

2011-01-14 Thread Michael Guterl
We're migrating a Rails 2.3.x application to Rails 3 and RSpec 2.x. In Rails 2.3.x we were using https://github.com/freelancing-god/after_commit to provide after_commit functionality (now provided by Rails 3). The plugin version of after_commit came with some helpers to make testing with `use_tran