changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/UPGRADE

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
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
12before_context_eval is an un-published hook used by
13Spec::Rails to create specialized behaviour contexts.
14Most of you don't need to change this, but for those
15who have exploited it, you'll need to change it to
16before_eval.
17
18== Spec::Rails
19
20=== spec_helper.rb
21
22We've added a new way to configure Spec::Runner to do
23things like use_transactional_fixtures and use_instantiated_fixtures.
24You'll need to update spec/spec_helper.rb accordingly. You can either
25just re-generate it:
26
27 script/generate rspec
28
29Or 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