Sha256: 4b4fb82aa2674d86482cdb5e68dd236a1a633ebd8eb2d36aed3df45125a67a97

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

require "test_helper"

module Pocket
  class VersionTest < Test::Unit::TestCase
    def test_item_id
      pa = Pocket::Article.new(full_response)
      assert_equal 229279689, pa.item_id
    end

    def full_response
      @full_response ||= File.read("test/fixtures/retreive.json")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pocket-ruby-andyw8-0.1.0 test/pocket/article_test.rb