mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@b6b7752
This commit is contained in:
parent
64d8c0815e
commit
b3fa158d1c
35 changed files with 652 additions and 56 deletions
11
spec/ruby/library/stringio/getpass_spec.rb
Normal file
11
spec/ruby/library/stringio/getpass_spec.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
require_relative '../../spec_helper'
|
||||
require 'stringio'
|
||||
|
||||
# This method is added by io/console on require.
|
||||
describe "StringIO#getpass" do
|
||||
require 'io/console'
|
||||
|
||||
it "is defined by io/console" do
|
||||
StringIO.new("example").should.respond_to?(:getpass)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue