Skip to content

Commit

Permalink
Don't generate autotest/discover.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Dec 11, 2010
1 parent 6fa688f commit f47e87b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

[full changelog](http://github.com/rspec/rspec-rails/compare/v2.2.1...master)

* Changes
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
needed (as of rspec-core-2.3.0)

### 2.2.1 / 2010-12-01

[full changelog](http://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
Expand Down
13 changes: 11 additions & 2 deletions Upgrade.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Upgrade to rspec-rails-2
# rspec-rails-2.3.0

## autotest integration

Add a .rspec file to the project's root directory (if not already there) to
tell RSpec to tell Autotest to use RSpec's specialized Autotest class.

NOTE that rspec-core-2.0, 2.1, and 2.2 required an autotest/discover.rb file in
the project's root directory. This worked with some, but not all versions of
autotest and/or the autotest command that ships with ZenTest. This new approach
will work regardless of which version of autotest/ZenTest you are using.

## Webrat and Capybara

Expand Down Expand Up @@ -51,4 +61,3 @@ to this:
stub_model(Widget).as_new_record

Generators in 2.0.0 final release will do the latter.

1 change: 0 additions & 1 deletion autotest/discover.rb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/generators/rspec/install/templates/autotest/discover.rb

This file was deleted.

0 comments on commit f47e87b

Please sign in to comment.