Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Filter by name

  • Loading branch information...
commit 6498b61d457f5694229e924d915cb52aa57c8ed3 1 parent facc520
@kerryb authored
Showing with 27 additions and 0 deletions.
  1. +27 −0 index.html
View
27 index.html
@@ -310,6 +310,33 @@ <h2 class="center">Kerry Buckley<br />IPRUG, 4 January 2011</h2>
</div>
</div>
+ <div class="slide">
+ <h1>Filtering by name</h1>
+ <div class="vcenter">
+ <pre class="ruby">
+ describe "Something" do
+ it "does stuff" do ...
+
+ it "does other stuff" do ...
+
+ it "does one more thing" do ...
+ end
+ </pre>
+ <p>Select specs using a regular expression:</p>
+ <pre>
+ $ rspec -e stuff ...
+ Run filtered using {:full_description=>/(?-mix:stuff)/}
+
+ Something
+ <span style="color:green">does stuff</span>
+ <span style="color:green">does other stuff</span>
+
+ Finished in 0.00101 seconds
+ <span style="color:green">2 examples, 0 failures</span>
+ </pre>
+ </div>
+ </div>
+
<!--
Things to cover:
Please sign in to comment.
Something went wrong with that request. Please try again.