Sha256: 54238dfdc4d0c796cce43cc1b5284e01299f33ea7fa47c1cbefb86298f3b32f4

Contents?: true

Size: 324 Bytes

Versions: 20

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true
require 'test_helper'

class PublicationTest < Test::Unit::TestCase
  def test_find_all_publications
    fake 'publications'
    publications = ShopifyAPI::Publication.find(:all)

    assert_equal 55650051, publications.first.id
    assert_equal "Buy Button", publications.first.name
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
shopify_api-9.2.0 test/publication_test.rb
shopify_api-9.1.0 test/publication_test.rb
shopify_api-9.0.4 test/publication_test.rb
shopify_api-9.0.3 test/publication_test.rb
shopify_api-9.0.2 test/publication_test.rb
shopify_api-9.0.1 test/publication_test.rb
shopify_api-9.0.0 test/publication_test.rb
shopify_api-8.1.0 test/publication_test.rb
shopify_api-8.0.0 test/publication_test.rb
shopify_api-7.1.0 test/publication_test.rb
shopify_api-7.0.2 test/publication_test.rb
shopify_api-7.0.1 test/publication_test.rb
shopify_api-7.0.0 test/publication_test.rb
shopify_api-6.0.0 test/publication_test.rb
shopify_api-5.2.4 test/publication_test.rb
shopify_api-5.2.3 test/publication_test.rb
shopify_api-5.2.2 test/publication_test.rb
shopify_api-5.2.1 test/publication_test.rb
shopify_api-5.2.0 test/publication_test.rb
shopify_api-5.1.0 test/publication_test.rb