Sha256: 19bf4441da5aec939585008c71a26a304d956315bed2a8d0f30e542b6477526c
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 Bytes
Contents
require 'integration_spec_helper' describe 'Login process' do if account_file_exists? context 'when email and password are correct' do it 'returns a valid object' do object = storage object.should respond_to :nodes end end context 'when email and password are invalid' do it 'raises an error' do lambda { Rmega.login 'a@apple.com', 'b' }.should raise_error(Rmega::ApiRequestError) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rmega-0.0.6 | spec/integration/login_spec.rb |
rmega-0.0.5 | spec/integration/login_spec.rb |
rmega-0.0.4 | spec/integration/login_spec.rb |