Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[t/spec/astaire/hello-world.t] skip tests in file

They look ok, but can't ever have run for real since there's no
Astaire::Base class in lib/
  • Loading branch information...
commit b4195cebe2254bcea9300bb2e99d0ed01549cd39 1 parent 4563f29
@masak authored
Showing with 17 additions and 14 deletions.
  1. +17 −14 t/spec/astaire/hello-world.t
View
31 t/spec/astaire/hello-world.t
@@ -1,20 +1,23 @@
use v6;
use Test;
-# L<Astaire/Astaire spec/Sometimes you just want to write a really small>
-
-class TestApp is Astaire::Base {
- get '/' => {
- 'Hello World'
- }
-}
+use Astaire;
-ok TestApp ~~ Callable;
-ok TestApp.new.can('postfix:<()>');
+plan 4;
-my $request = Web::MockRequest.new(TestApp);
-my $response = $request.get('/');
-ok $response.is_ok;
-is 'Hello World', $response.body;
+# L<Astaire/Astaire spec/Sometimes you just want to write a really small>
-done_testing;
+skip(4, 'Astaire::Base not implemented yet');
+##class TestApp is Astaire::Base {
+## get '/' => {
+## 'Hello World'
+## }
+##}
+##
+##ok TestApp ~~ Callable;
+##ok TestApp.new.can('postcircumfix:<()>');
+##
+##my $request = Web::MockRequest.new(TestApp);
+##my $response = $request.get('/');
+##ok $response.is_ok;
+##is 'Hello World', $response.body;
Please sign in to comment.
Something went wrong with that request. Please try again.