lib/minitest/filesystem.rb in minitest-filesystem-1.0.0 vs lib/minitest/filesystem.rb in minitest-filesystem-1.0.1

- old
+ new

@@ -1,17 +1,17 @@ require "minitest/filesystem/version" require "minitest/filesystem/matcher" -module MiniTest::Assertions +module Minitest::Assertions def assert_contains_filesystem(dir, msg = nil, &block) - matcher = MiniTest::FileSystem::Matcher.new(dir, &block) + matcher = Minitest::Filesystem::Matcher.new(dir, &block) assert matcher.match_found?, msg || matcher.message end def filesystem(&block) block end end -module MiniTest::Expectations +module Minitest::Expectations infect_an_assertion :assert_contains_filesystem, :must_exist_within end