Sha256: 870aa7767fc1d806522d29005f12d41a6f0892aada638b5896cf57281eb81e4c
Contents?: true
Size: 533 Bytes
Versions: 91
Compression:
Stored size: 533 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Payments do describe '#payments' do let(:app) { FbGraph::Application.new('app_id', :secret => 'sec sec') } it 'should return payments as FbGraph::Order' do mock_graph :post, 'oauth/access_token', 'token_response' do mock_graph :get, 'app_id/payments', 'applications/payments/sample', :access_token => 'token' do app.payments.each do |payment| payment.should be_a FbGraph::Order end end end end end end
Version data entries
91 entries across 91 versions & 1 rubygems