diff options
Diffstat (limited to 't/spore/02_enable.t')
-rw-r--r-- | t/spore/02_enable.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/spore/02_enable.t b/t/spore/02_enable.t index 3f25606..2bd7402 100644 --- a/t/spore/02_enable.t +++ b/t/spore/02_enable.t @@ -16,11 +16,11 @@ sub call { 1 } package main; -my $couchdb_spec = 't/specs/couchdb.json'; -my %args = ( api_base_url => 'http://localhost:5984', ); -my $content < io($couchdb_spec); +my $api_spec = 't/specs/api.json'; +my %args = ( base_url => 'http://localhost/', ); +my $content < io($api_spec); -ok my $client = Net::HTTP::Spore->new_from_spec( $couchdb_spec, %args ); +ok my $client = Net::HTTP::Spore->new_from_spec( $api_spec, %args ); is scalar @{$client->middlewares}, 0, 'no middleware'; |