~ubuntu-branches/ubuntu/trusty/libtest-roo-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to t/lib/RequiresFixture.pm

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-01-14 19:25:11 UTC
  • Revision ID: package-import@ubuntu.com-20140114192511-9ycl4dc1zgamfnek
Tags: upstream-1.002
ImportĀ upstreamĀ versionĀ 1.002

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use 5.008001;
 
2
 
 
3
package RequiresFixture;
 
4
use Test::Roo::Role;
 
5
 
 
6
requires 'fixture';
 
7
 
 
8
test try_me => sub {
 
9
    my $self    = shift;
 
10
    my $fixture = $self->fixture;
 
11
    ok( ($fixture) x 2 );
 
12
};
 
13
 
 
14
1;