Sha256: f5d30905b3bf35c1f5a06a2798ba5a5ea8e08281e22df819ccb558e7197ffc8c
Contents?: true
Size: 496 Bytes
Versions: 92
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' require 'flydata/command/login' module Flydata module Command describe Login do subject { described_class.new } let(:ask_text) { "answer" } let(:flydata) { double('flydata') } before do allow(subject).to receive(:flydata).and_return(flydata) allow(subject).to receive(:ask).and_return(ask_text) end it do expect(flydata).to receive(:post) expect(subject.run).to eq true end end end end
Version data entries
92 entries across 92 versions & 1 rubygems