Sha256: b78e6516cd53d73f47f264cc767843a419bc7d3ab8be2ba8e68d5b1324c8c255

Contents?: true

Size: 866 Bytes

Versions: 19

Compression:

Stored size: 866 Bytes

Contents

require 'spec_helper'

describe FbGraph2::Struct::AppLink do
  subject { described_class }
  its(:registered_attributes) { should == {raw: [:url]} }

  describe FbGraph2::Struct::AppLink::Native do
    its(:registered_attributes) { should == {raw: [:url, :app_name]} }
  end

  describe FbGraph2::Struct::AppLink::Native::IOS do
    its(:registered_attributes) { should == {raw: [:url, :app_name, :app_store_id]} }
  end

  describe FbGraph2::Struct::AppLink::Native::Android do
    its(:registered_attributes) { should == {raw: [:url, :app_name, :package], custom: [:klass]} }
  end

  describe FbGraph2::Struct::AppLink::Native::WindowsPhone do
    its(:registered_attributes) { should == {raw: [:url, :app_name, :app_id]} }
  end

  describe FbGraph2::Struct::AppLink::Web do
    its(:registered_attributes) { should == {raw: [:url, :should_fallback]} }
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-1.2.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-1.1.1 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-1.1.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-1.0.1 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-1.0.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.9.1 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.9.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.8.0 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.9 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.8 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.7 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.6 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.5 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.4 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.3 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.2 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.1 spec/fb_graph2/struct/app_link_spec.rb
fb_graph2-0.7.0 spec/fb_graph2/struct/app_link_spec.rb