Sha256: a7fbcc1d73d6bacd6a77d95c75d8d747cbd30bfc89e917ef3e81d447593a9fa7

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

describe "Accessing a Facebook account" do
  extend Bacon::Functional::API

  before do
    self.window = UIApplication.sharedApplication.keyWindow
  end

  it 'allows us to retrieve the users name' do
    if Facebook.accounts.size > 0
      wait 1 do
        tap 'ok'
      end
      wait 1
      view('username').text.should.equal ENV['USER']
    else
      warn "\n\n!!!!!!!!!!!!!\n\n No acounts on simulator"
      view('username').text.should.equal 'Fail... See Log'
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zuckermo-0.0.2 spec/main_spec.rb