Page MenuHomePhabricator

Automation_Engineer_Pairing_Session_w_Zeljko

Authored By
dduvall
Apr 30 2015, 5:35 PM
Size
605 B
Referenced Files
None
Subscribers
None

Automation_Engineer_Pairing_Session_w_Zeljko

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

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
154684
Default Alt Text
Automation_Engineer_Pairing_Session_w_Zeljko (605 B)

Event Timeline