]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/UPGRADE
api06: Fix typo.
[rails.git] / vendor / gems / rspec-1.1.2 / UPGRADE
1 = Upgrading existing code to RSpec-0.9
2
3 == General (see below for Spec::Rails specifics)
4
5 === New Syntax for should and should_not
6
7 * Use translator (should get 90% of your code)
8 * Manually fix "parenthesis" warnings
9
10 === Change before_context_eval to before_eval
11
12 before_context_eval is an un-published hook used by
13 Spec::Rails to create specialized behaviour contexts.
14 Most of you don't need to change this, but for those
15 who have exploited it, you'll need to change it to
16 before_eval.
17
18 == Spec::Rails
19
20 === spec_helper.rb
21
22 We've added a new way to configure Spec::Runner to do
23 things like use_transactional_fixtures and use_instantiated_fixtures.
24 You'll need to update spec/spec_helper.rb accordingly. You can either
25 just re-generate it:
26
27   script/generate rspec
28   
29 Or modify spec_helper.rb based on the template, which can be found at:
30
31   vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb