diff options
Diffstat (limited to 'spec/ruby/core/io/new_spec.rb')
-rw-r--r-- | spec/ruby/core/io/new_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/ruby/core/io/new_spec.rb b/spec/ruby/core/io/new_spec.rb new file mode 100644 index 0000000000..ce922a4856 --- /dev/null +++ b/spec/ruby/core/io/new_spec.rb @@ -0,0 +1,10 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../shared/new', __FILE__) + +describe "IO.new" do + it_behaves_like :io_new, :new +end + +describe "IO.new" do + it_behaves_like :io_new_errors, :new +end |