Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README testing section #5

Merged
merged 1 commit into from Apr 22, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -171,6 +171,12 @@ describe UsersController do
end
```

Don't forget to add the line below to your spec_helper.rb file:

``` ruby
require 'focused_controller/rspec_functional_helper'
```

## Unit Testing ##

A better way to test your controllers is with unit tests. This involves
Expand Down Expand Up @@ -299,6 +305,12 @@ describe UsersController do
end
```

Don't forget to add the line below to your spec_helper.rb file:

``` ruby
require 'focused_controller/rspec_helper'
```

## Isolated unit tests ##

It is possible to completely decouple your focused controller tests from
Expand Down