diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-26 15:05:30 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-26 15:05:30 +0100 |
commit | 0e45fa27e4bc857f61b71f6c121a61e08e54cb6a (patch) | |
tree | 7e83c50825819b60a9a73f16c4d4f0a4ff247650 /t/open311/endpoint/configfile.t | |
parent | c1178ea85d1879d6533ac09e2a3c813441554b43 (diff) | |
parent | a09c61c807d8d6b50227c9d8aa687f1eb22bad00 (diff) |
Merge branch 'stevenage-open311'
Diffstat (limited to 't/open311/endpoint/configfile.t')
-rw-r--r-- | t/open311/endpoint/configfile.t | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/t/open311/endpoint/configfile.t b/t/open311/endpoint/configfile.t deleted file mode 100644 index 7f41468ba..000000000 --- a/t/open311/endpoint/configfile.t +++ /dev/null @@ -1,23 +0,0 @@ -use strict; use warnings; - -BEGIN { - package Foo; - use Moo; - with 'Open311::Endpoint::Role::ConfigFile'; - - has foo => ( is => 'ro', default => 'foo' ); -} - -package main; -use Test::More; - -is +Foo->new->foo, - 'foo', 'sanity'; -is +Foo->new( foo => 'bar')->foo, - 'bar', 'override'; -is +Foo->new( config_file => 't/open311/endpoint/config1.yml' )->foo, - 'baz', 'with config'; -is +Foo->new( config_file => 't/open311/endpoint/config1.yml', foo => 'qux' )->foo, - 'qux', 'with config, overridden'; - -done_testing; |