Sha256: 8bcbf6cbaf262e2e563303c7d1f01f8b642e0006a4854cfe01a140ee901d851d
Contents?: true
Size: 592 Bytes
Versions: 10
Compression:
Stored size: 592 Bytes
Contents
describe DeployGate::Xcode::MemberCenter do class SpaceshipClient def in_house? end end let(:email) { 'test@example.com' } let(:center) { DeployGate::Xcode::MemberCenter.instance } before do allow(Spaceship).to receive(:login) {} allow(Spaceship).to receive(:select_team) {} allow(Spaceship).to receive(:client).and_return(SpaceshipClient.new) allow_any_instance_of(DeployGate::Xcode::MemberCenter).to receive(:input_email).and_return(email) end context '#initialize' do it "input email" do expect(center.email).to eq email end end end
Version data entries
10 entries across 10 versions & 1 rubygems