Sha256: 022cdc24010b70ffd64552ba3746b0788c687184e19bfc2548b8a10c93f4bb2a

Contents?: true

Size: 913 Bytes

Versions: 45

Compression:

Stored size: 913 Bytes

Contents

= Upgrading existing code to RSpec-0.9

== General (see below for Spec::Rails specifics)

=== New Syntax for should and should_not

* Use translator (should get 90% of your code)
* Manually fix "parenthesis" warnings

=== Change before_context_eval to before_eval

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.

== Spec::Rails

=== spec_helper.rb

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

Version data entries

45 entries across 45 versions & 7 rubygems

Version Path
deckshuffler-0.0.2 vendor/plugins/rspec/UPGRADE
has_finder-0.1.2 spec/rails/vendor/plugins/rspec/UPGRADE
has_finder-0.1.1 spec/rails/vendor/plugins/rspec/UPGRADE
has_finder-0.1.3 spec/rails/vendor/plugins/rspec/UPGRADE
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/UPGRADE
picolena-0.1.0 rails_plugins/rspec/UPGRADE
picolena-0.1.1 rails_plugins/rspec/UPGRADE
picolena-0.1.4 rails_plugins/rspec/UPGRADE
picolena-0.1.2 rails_plugins/rspec/UPGRADE
picolena-0.1.3 rails_plugins/rspec/UPGRADE
picolena-0.1.5 rails_plugins/rspec/UPGRADE
radiant-0.6.5.1 vendor/plugins/rspec/UPGRADE
radiant-0.6.5 vendor/plugins/rspec/UPGRADE
radiant-0.6.7 vendor/plugins/rspec/UPGRADE
radiant-0.6.6 vendor/plugins/rspec/UPGRADE
radiant-0.6.9 vendor/plugins/rspec/UPGRADE
radiant-0.6.8 vendor/plugins/rspec/UPGRADE
rspec-0.9.0 UPGRADE
rspec-1.0.4 UPGRADE
rspec-0.9.2 UPGRADE