Permalink
Browse files

Change test to reflect new defaults

  • Loading branch information...
1 parent 96c54f0 commit d4433adcc2da5f22bb733ab125747ce74d590dd7 @simonwistow simonwistow committed Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/common.pl
View
@@ -147,11 +147,11 @@ sub common_tests {
ok($fastly->get_service($version3->service_id)->version->active, "Version is correctly active");
- my $generated = eval { $version3->generated_vcl };
+ my $generated = eval { $version3->generated_vcl(no_content => 1) };
is($@, '', "Didn't raise an error");
ok($generated, "Generated VCL is defined");
ok(!defined $generated->content, "Generate VCL has no content");
- $generated = $version3->generated_vcl(include_content => 1);
+ $generated = $version3->generated_vcl();
ok($generated->content, "Generate VCL has content");
ok($generated->content =~ /\.port = "9092"/msg, "Generated VCL has right port");

0 comments on commit d4433ad

Please sign in to comment.