diff options
author | Ash Berlin <ash_github@firemirror.com> | 2014-02-01 02:30:11 -0800 |
---|---|---|
committer | Ash Berlin <ash_github@firemirror.com> | 2014-02-01 02:30:11 -0800 |
commit | ef355cf4543bba818d2160bcd1fc9c7db891ad94 (patch) | |
tree | 2a73b0dedd59c17d5e41b1018b48154ed0e0d0cc /t | |
parent | Merge pull request #33 from chiselwright/class_load (diff) | |
parent | Fixing attribute name typo (diff) | |
download | net-http-spore-ef355cf4543bba818d2160bcd1fc9c7db891ad94.tar.gz |
Merge pull request #24 from hakamadare/typo_fix
Fixing attribute name typo
Diffstat (limited to 't')
-rw-r--r-- | t/spore-middleware/format-auto.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/spore-middleware/format-auto.t b/t/spore-middleware/format-auto.t index 857d65d..0dbe54c 100644 --- a/t/spore-middleware/format-auto.t +++ b/t/spore-middleware/format-auto.t @@ -1,8 +1,9 @@ use strict; use warnings; use Test::More; +use Test::Moose; -plan tests => 1; +plan tests => 2; use JSON; @@ -36,3 +37,5 @@ ok my $client = Net::HTTP::Spore->new_from_string( JSON::encode_json($api) ); $client->enable('Format::Auto'); $client->enable( 'Mock', tests => $mock_server ); +has_attribute_ok('Net::HTTP::Spore::Middleware::Format::Auto', 'serializer','has the serializer attribute'); + |