Permalink
Browse files

Prepped v0.44

  • Loading branch information...
1 parent ca2223e commit d8e2ad3537f7197d4448d8ec14b271a49b984caf Philip Garrett committed Apr 30, 2012
Showing with 7 additions and 2 deletions.
  1. +3 −0 Changes
  2. +4 −2 lib/Test/Spec.pm
View
@@ -1,5 +1,8 @@
Revision history for Perl extension Test::Spec.
+0.44 Mon Apr 30 11:04:00 CST 2012
+ - Allow shared_examples_for to be defined in any context.
+
0.43 Sat Apr 14 16:22:00 EST 2012
- Fixed runtests() to honor its contract to run only the examples specified
in its @patterns parameter or SPEC environment variable.
View
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Test::Trap (); # load as early as possible to override CORE::exit
-our $VERSION = '0.43';
+our $VERSION = '0.44';
use base qw(Exporter);
@@ -735,7 +735,9 @@ Defines a group of examples that can later be included in
C<describe> blocks or other C<shared_examples_for> blocks. See
L</Shared example groups>.
-Example group names are B<global>.
+Example group names are B<global>, but example groups can be defined at any
+level (i.e. they can be defined in the global context, or inside a "describe"
+block).
my $browser;
shared_examples_for "all browsers" => sub {

0 comments on commit d8e2ad3

Please sign in to comment.