Page MenuHomePhabricator
Paste P586

Automation Engineer Pairing Session w/ Zeljko
ActivePublic

Authored by dduvall on Apr 30 2015, 5:22 PM.
Tags
None
Referenced Files
F158975: Automation_Engineer_Pairing_Session_w_Zeljko
Apr 30 2015, 5:35 PM
F158967: Automation_Engineer_Pairing_Session_w_Zeljko
Apr 30 2015, 5:23 PM
F158966: Automation_Engineer_Pairing_Session_w_Zeljko
Apr 30 2015, 5:22 PM
F158965: Automation_Engineer_Pairing_Session_w_Zeljko
Apr 30 2015, 5:22 PM
F158964: Automation_Engineer_Pairing_Session_w_Zeljko
Apr 30 2015, 5:22 PM
Subscribers
None
describe '#password' do
subject { env.password }
let(:config) { { mediawiki_password: 'foo password' } }
it 'returns the value of mediawiki_password' do
expect(subject).to eq('foo password')
end
context 'when passing an alternative id :b' do
subject { env.password(:b) }
context 'and mediawiki_password_b is defined' do
let(:config) { { mediawiki_password_b: 'bar password' } }
it 'returns the value of mediawiki_password_b' do
expect(subject).to eq('bar password')
end
end
end
end

Event Timeline

dduvall changed the title of this paste from untitled to Automation Engineer Pairing Session w/ Zeljko.
dduvall updated the paste's language from autodetect to autodetect.
dduvall edited the content of this paste. (Show Details)
zeljkofilipin updated the paste's language from autodetect to ruby.
zeljkofilipin edited the content of this paste. (Show Details)