Sha256: b2925bdc1077c758681fa513e0c29671e3d8fb6029a4d75f8c2a66bd3e07a5e6
Contents?: true
Size: 577 Bytes
Versions: 12
Compression:
Stored size: 577 Bytes
Contents
require 'spec_helper' describe FbGraph2::Edge::AppInsights do let(:app) { FbGraph2::App.app('app_token') } describe '#app_link_hosts' do it 'should return an Array of FbGraph2::AppInsight' do mock_graph :get, 'app/app_insights/metric', 'app/app_insights', access_token: 'app_token' do insights = app.app_insights('metric') insights.should be_instance_of FbGraph2::Edge insights.should_not be_blank insights.each do |host| host.should be_instance_of FbGraph2::Struct::AppInsight end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems