[rspec-users] running 1 example
dchelimsky at gmail.com
Mon May 18 09:46:10 EDT 2009
On Mon, May 18, 2009 at 7:04 AM, lawrence.pit <lawrence.pit at gmail.com> wrote:
> Suppose you have a file with dozens of examples within several
> describe/context blocks, and you wanted to focus on just one example.
> Is there an easy way to run just that one example instead of all the
> examples in the file?
$ spec --help
-l, --line LINE_NUMBER Execute example group or example at given line.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users