Permalink
Browse files

update file extensions in tests

  • Loading branch information...
1 parent 79f9e58 commit 6eff6e847feb4254b472ce51b714783c9d929e0c @jonswar committed Mar 5, 2011
Showing with 3 additions and 5 deletions.
  1. +0 −2 Changes
  2. +3 −3 lib/Mason/Plugin/Cache/t/Basic.pm
View
@@ -4,8 +4,6 @@ Revision history for Mason-Plugin-Cache
0.02 Feb 25, 2011
-- Depend on Catalyst::Action::RenderView for tests
-
0.01 Feb 16, 2011
- Initial version
@@ -6,7 +6,7 @@ __PACKAGE__->default_plugins( [ '@Default', 'Cache' ] );
sub test_cache_defaults : Test(2) {
my $self = shift;
$self->run_test_in_comp(
- path => '/cache/defaults.m',
+ path => '/cache/defaults.mc',
test => sub {
my $comp = shift;
is( $comp->cache->label, 'File', 'cache->label' );
@@ -18,7 +18,7 @@ sub test_cache_defaults : Test(2) {
sub test_cache_method : Test(1) {
my $self = shift;
$self->test_comp(
- path => '/cache.m',
+ path => '/cache.mc',
src => '
<%shared>
$.count => 0
@@ -36,7 +36,7 @@ namespace: <% $.cache->namespace %>
<% $.getset("foo") %>
',
expect => '
-namespace: /cache.m
+namespace: /cache.mc
foo1
bar2

0 comments on commit 6eff6e8

Please sign in to comment.