Sha256: bddd6427b5f5a10ac56574e94c11aee3fd1b8dd1a13d60820ee2e0938582af1b

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'
require "yaml"


def account_file_path
  File.join File.dirname(__FILE__), 'integration/rmega_account.yml'
end

def account_file_exists?
  File.exists? account_file_path
end

def account
  @account ||= YAML.load_file account_file_path
end

def storage
  Rmega.login account['email'], account['password']
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmega-0.0.6 spec/integration_spec_helper.rb
rmega-0.0.5 spec/integration_spec_helper.rb
rmega-0.0.4 spec/integration_spec_helper.rb