Sha256: 82980fc53a0305a33cfed6bc6944a4313015ac02646b146f320ad2c8bd81d1a2

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 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['FBUSER']
    else
      warn "\n\n!!!!!!!!!!!!!\n\n No acounts on simulator"
      view('username').text.should.equal 'Fail... See Log'
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zuckermo-0.0.4 spec/main_spec.rb
zuckermo-0.0.3 spec/main_spec.rb