Sha256: a4587d1d80f6e91c607ed80ea427bbe673c472810169542392658b0becf1868f

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

require 'integration_helper'
require 'mws/recommendations'

class RecommendationsTest < IntegrationTest
  def test_gets_last_updated_time_for_recommendations
    clients.each do |client|
      res = client.get_last_updated_time_for_recommendations
      # MWS won't recommend unless account has actual sales
      skip unless content = res.parse
      refute_empty content
    end
  end

  def test_lists_recommendations
    clients.each do |client|
      res = client.list_recommendations
      skip unless content = res.parse
      refute_empty content
    end
  end

  def test_gets_service_status
    clients.each do |client|
      res = client.get_service_status
      refute_empty res.parse
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
peddler-0.8.0 test/integration/test_recommendations.rb