diff options
Diffstat (limited to 'spec/ruby/core/argf/argf_spec.rb')
-rw-r--r-- | spec/ruby/core/argf/argf_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/ruby/core/argf/argf_spec.rb b/spec/ruby/core/argf/argf_spec.rb new file mode 100644 index 0000000000..b47e77c17f --- /dev/null +++ b/spec/ruby/core/argf/argf_spec.rb @@ -0,0 +1,11 @@ +require File.expand_path('../../../spec_helper', __FILE__) + +describe "ARGF" do + it "is extended by the Enumerable module" do + ARGF.should be_kind_of(Enumerable) + end + + it "is an instance of ARGF.class" do + ARGF.should be_an_instance_of(ARGF.class) + end +end |