Sha256: fc4aad17cea5fdcbd3dd3199fb2855a98c069092ca38af797ceaee0378182c1f
Contents?: true
Size: 643 Bytes
Versions: 14
Compression:
Stored size: 643 Bytes
Contents
require 'establish/password_manager' describe Establish do describe Establish::PasswordManager do let (:username) { "test@example123.com" } let (:password) { "somethingFancy123$" } before do ENV["ESTABLISH_USER"] = username ENV["ESTABLISH_PASSWORD"] = password end describe "#username" do it "uses the environment variable if given" do Establish::PasswordManager.new.username.should eq(username) end end describe "#password" do it "uses the environment variable if given" do Establish::PasswordManager.new.password.should eq(password) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems