technoweenie / running_man

MIT License
23 stars 4 forks source link

Problems with Rails 3.1 #1

Open sandstrom opened 13 years ago

sandstrom commented 13 years ago

It seems like this isn't working anymore under Rails 3.1 (RC4). The run_once blocks aren't run.

I haven't figured out the cause yet, posting partly to see if anyone else has run into the same problem?

technoweenie commented 12 years ago

It works on 3.0? What the hell could possibly change? Maybe something in ActiveSupport::TestCase? We don't use Rails 3, so I won't be much use.

jch commented 11 years ago

@sandstrom I got this working on Rails 3.2.13, but I had to manually register running_man to ActiveSupport:

RunningMan.setup_on ActiveSupport::TestCase, :ActiveRecordBlock

Hope that helps.