Просмотр исходного кода

Fix acceptance test for removed section

The 199 PR updated ini_setting to remove empty sections after the last
value is removed. This fixes the acceptance test.
Hunter Haugen 8 лет назад
Родитель
Сommit
f77ab45542
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      spec/acceptance/ini_setting_spec.rb

+ 1 - 1
spec/acceptance/ini_setting_spec.rb

@@ -134,7 +134,7 @@ describe 'ini_setting resource' do
         it { should be_file }
         its(:content) {
           should match /four = five/
-          should match /\[one\]/
+          should_not match /\[one\]/
           should_not match /two = three/
         }
       end