Sha256: 805b243e25e4af2eb6a645efe2c8b3069eed6d6c9dac297461a498063000a816

Contents?: true

Size: 394 Bytes

Versions: 58

Compression:

Stored size: 394 Bytes

Contents

require 'test_helper'

class PolicyTest < Test::Unit::TestCase
  def setup
    super
    fake 'shop'
  end

  def test_getting_the_list_of_policies
    fake 'policies'

    policies = ShopifyAPI::Policy.all
    assert_equal 1, policies.length

    policy = policies.first
    assert_equal 'Privacy Policy', policy.title
    assert_equal 'Your privacy is important to us', policy.body
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
shopify_api-5.0.0 test/policy_test.rb
shopify_api-4.13.0 test/policy_test.rb
shopify_api-4.12.0 test/policy_test.rb
shopify_api-4.11.0 test/policy_test.rb
shopify_api-4.10.0 test/policy_test.rb
shopify_api-4.9.1 test/policy_test.rb
shopify_api-4.9.0 test/policy_test.rb
shopify_api-4.8.0 test/policy_test.rb
shopify_api-4.7.1 test/policy_test.rb
shopify_api-4.7.0 test/policy_test.rb
shopify_api-4.6.0 test/policy_test.rb
shopify_api-4.5.0 test/policy_test.rb
shopify_api-4.4.0 test/policy_test.rb
shopify_api-4.3.9 test/policy_test.rb
shopify_api-4.3.8 test/policy_test.rb
shopify_api-4.3.7 test/policy_test.rb
shopify_api-4.3.6 test/policy_test.rb
shopify_api-4.3.5 test/policy_test.rb
shopify_api-4.3.4 test/policy_test.rb
shopify_api-4.3.3 test/policy_test.rb