spec/support/matchers/file_system_matchers.rb in berkshelf-6.3.4 vs spec/support/matchers/file_system_matchers.rb in berkshelf-7.0.0

- old
+ new

@@ -57,12 +57,10 @@ def directory(name, &block) @tree[name] = block_given? && DirectoryMatcher.new(location(name), &block) end def file(name, &block) - silence_warnings do - @tree[name] = FileMatcher.new(location(name), &block) - end + @tree[name] = FileMatcher.new(location(name), &block) end def no_file(name) @negative_tree << name end