From 51a988692ab206cc069ee5f66ba57e0d6924c625 Mon Sep 17 00:00:00 2001 From: Lebedev Vadim Date: Fri, 2 Sep 2016 19:06:35 +0300 Subject: [PATCH] * fix spec --- spec/classes/config_spec.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/classes/config_spec.rb b/spec/classes/config_spec.rb index 77d74dd3a..46e6480c6 100644 --- a/spec/classes/config_spec.rb +++ b/spec/classes/config_spec.rb @@ -378,15 +378,15 @@ notmatch: %r{fastcgi_cache_use_stale} }, { - :title => 'should contain ordered prepended directives', - :attr => 'http_cfg_prepend', - :value => { 'test1' => 'test value 1', 'test2' => 'test value 2', 'allow' => 'test value 3' }, - :match => [ + title: 'should contain ordered appended directives from hash', + attr: 'http_cfg_prepend', + value: { 'test1' => 'test value 1', 'test2' => 'test value 2', 'allow' => 'test value 3' }, + match: [ ' allow test value 3;', ' test1 test value 1;', - ' test2 test value 2;', - ], - }, + ' test2 test value 2;' + ] + }, { title: 'should contain duplicate appended directives from list of hashes', attr: 'http_cfg_prepend',