Path: | UPGRADE |
Last Update: | Sun Mar 16 11:47:49 -0600 2008 |
before_context_eval is an un-published hook used by Spec::Rails to create specialized behaviour contexts. Most of you don‘t need to change this, but for those who have exploited it, you‘ll need to change it to before_eval.
We‘ve added a new way to configure Spec::Runner to do things like use_transactional_fixtures and use_instantiated_fixtures. You‘ll need to update spec/spec_helper.rb accordingly. You can either just re-generate it:
script/generate rspec
Or modify spec_helper.rb based on the template, which can be found at:
vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb