Sutto-perennial 1.0.0.0 → 1.0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +0,0 @@
1
- # Figure out what's missing from fakefs
2
- #
3
- # USAGE
4
- #
5
- # $ ruby test/verify.rb | grep "not implemented"
6
- require 'fakefs'
7
- require 'test/unit'
8
-
9
- class FakeFSVerifierTest < Test::Unit::TestCase
10
- (RealFile.methods - Class.new.methods).each do |name|
11
- define_method("test #{name} class method") do
12
- assert File.respond_to?(name), "File.#{name} not implemented"
13
- end
14
- end
15
-
16
- (RealFile.instance_methods - Enumerable.instance_methods).each do |name|
17
- define_method("test #{name} instance method") do
18
- assert File.instance_methods.include?(name), "File##{name} not implemented"
19
- end
20
- end
21
-
22
- (RealFileUtils.methods - Class.new.methods).each do |name|
23
- define_method("test #{name} module method") do
24
- assert FileUtils.respond_to?(name), "FileUtils.#{name} not implemented"
25
- end
26
- end
27
- end