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-9.2.0 test/policy_test.rb
shopify_api-9.1.0 test/policy_test.rb
shopify_api-9.0.4 test/policy_test.rb
shopify_api-9.0.3 test/policy_test.rb
shopify_api-9.0.2 test/policy_test.rb
shopify_api-9.0.1 test/policy_test.rb
shopify_api-9.0.0 test/policy_test.rb
shopify_api-8.1.0 test/policy_test.rb
shopify_api-8.0.0 test/policy_test.rb
shopify_api-7.1.0 test/policy_test.rb
shopify_api-7.0.2 test/policy_test.rb
shopify_api-7.0.1 test/policy_test.rb
shopify_api-7.0.0 test/policy_test.rb
shopify_api-6.0.0 test/policy_test.rb
shopify_api-5.2.4 test/policy_test.rb
shopify_api-5.2.3 test/policy_test.rb
shopify_api-5.2.2 test/policy_test.rb
shopify_api-5.2.1 test/policy_test.rb
shopify_api-5.2.0 test/policy_test.rb
shopify_api-5.1.0 test/policy_test.rb