1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/library/stringio/getpass_spec.rb

12 lines
263 B
Ruby
Raw Normal View History

2020-06-27 09:51:37 -04:00
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