summary refs log tree commit diff
path: root/t/11_protected_method.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-02-14 12:08:39 +0100
committerfranck cuny <franck@lumberjaph.net>2010-02-14 12:08:39 +0100
commit67924acf8f9da1bca64531961a4cefb105835c61 (patch)
tree5e21664d8e9b0a31959e532beb0cf7e0104c2e63 /t/11_protected_method.t
parentremove useless method (diff)
downloadmoosex-privacy-67924acf8f9da1bca64531961a4cefb105835c61.tar.gz
rename private and protected with private_method and protected_method
Diffstat (limited to '')
-rw-r--r--t/11_protected_method.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/11_protected_method.t b/t/11_protected_method.t
index 2d86605..587979b 100644
--- a/t/11_protected_method.t
+++ b/t/11_protected_method.t
@@ -10,7 +10,7 @@ use Test::Exception;
     use Moose;
     use MooseX::Privacy;
 
-    protected 'bar' => sub {
+    protected_method 'bar' => sub {
         my $self = shift;
         return 'baz';
     };