Permalink
Browse files

Merge pull request #5 from dyba/added-requires-readme

Updated README testing section
  • Loading branch information...
2 parents 0adf8f7 + 84e7e09 commit bdfee624725e960ad3cdb4b501e52090d84af262 @jonleighton committed Apr 22, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
@@ -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
@@ -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

0 comments on commit bdfee62

Please sign in to comment.