class ENV_

for testing code that needs credentials

Public Class Methods

new(user=nil, pass=nil) click to toggle source
# File lib/spec/spec_helper.rb, line 72
def initialize(user=nil, pass=nil)
  @user = user || 'user'
  @pass = pass || 'pass'
end

Public Instance Methods

password() click to toggle source
# File lib/spec/spec_helper.rb, line 79
def password
  @pass
end
user() click to toggle source
# File lib/spec/spec_helper.rb, line 76
def user
  @user
end