Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Commit

Permalink
indent blockquote by joahking correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineDominion committed Dec 10, 2013
1 parent 6884ed8 commit 86425c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -161,9 +161,10 @@ You can generate a PDF or an HTML copy of this guide using
should not require complex setup!)
* BDD: To remove the dependence on code that does not yet exist.
* Controller / Functional tests:
> In a controller spec, we don't care about how our data objects are created or what data they contain; we are writing expectations for the functional behavior of that controller, and that controller only. Mocks and stubs are used to decouple from the model layer and stay focused on the task of specing the controller.
>
> joahking, RailsForum: http://railsforum.com/viewtopic.php?pid=68311#p68311

> In a controller spec, we don't care about how our data objects are created or what data they contain; we are writing expectations for the functional behavior of that controller, and that controller only. Mocks and stubs are used to decouple from the model layer and stay focused on the task of specing the controller.
>
> joahking, RailsForum: http://railsforum.com/viewtopic.php?pid=68311#p68311
* Use `let` blocks instead of `before(:each)` blocks to create data for
the spec examples. `let` blocks get lazily evaluated.
Expand Down

0 comments on commit 86425c6

Please sign in to comment.