Permalink
Browse files

add rspec-expectations example

  • Loading branch information...
1 parent 1eeaa0c commit cc33f13a9d7bbfcdbbe1da7f34a4caa178573267 @oriolgual oriolgual committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/bdd-best-practices-and-antipatterns/index.html.erb
View
2 views/bdd-best-practices-and-antipatterns/index.html.erb
@@ -28,7 +28,7 @@
<h1>Better feature files</h1>
<ul>
<li>Think twice when writing the "As a ... I want to .. so I can ..."</li>
- <li>Write down any explanation you need as plain text between the header and the scenarios</li>
+ <li>Write down any explanation you need as plain text between the header and the scenarios (<a href="https://www.relishapp.com/rspec/rspec-expectations/v/2-8/docs/built-in-matchers/be-within-matcher">see example</a>)</li>
<li>Start with expectations instead of setting state or user actions</li>
<li>Group feature files by application domain, not actor</li>
</ul>

0 comments on commit cc33f13

Please sign in to comment.