Sha256: 947601d411a7e6b1775fe84b64480352697c6d1917df067ed9322448f61ed731

Contents?: true

Size: 465 Bytes

Versions: 17

Compression:

Stored size: 465 Bytes

Contents

require 'test_helper'

class VideoTest < Test::Unit::TestCase
  
  context "vimeo simple video" do
    
    setup do
      @video_id = "411684"
    end
    
    context "making api calls" do

      should "be able to get information about a video" do
        stub_get("/video/#{@video_id}.json", "simple/video/info.json")
        info = Vimeo::Simple::Video.info(@video_id).first
        
        assert_equal "411684", info["id"]
      end
      
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
vimeo-1.5.4 test/vimeo/simple/video_test.rb
vimeo-1.5.3 test/vimeo/simple/video_test.rb
slainer68_vimeo-1.5.2 test/vimeo/simple/video_test.rb
vimeo-1.5.2 test/vimeo/simple/video_test.rb
vimeo-1.5.1 test/vimeo/simple/video_test.rb
vimeo-1.5.0 test/vimeo/simple/video_test.rb
slainer68_vimeo-1.4.4 test/vimeo/simple/video_test.rb
slainer68_vimeo-1.4.3 test/vimeo/simple/video_test.rb
vimeo-1.4.3 test/vimeo/simple/video_test.rb
vimeo-1.4.2 test/vimeo/simple/video_test.rb
vimeo-1.4.1 test/vimeo/simple/video_test.rb
vimeo-1.4.0 test/vimeo/simple/video_test.rb
vimeo-1.3.0 test/vimeo/simple/video_test.rb
vimeo-1.2.2 test/vimeo/simple/video_test.rb
vimeo-1.2.0 test/vimeo/simple/video_test.rb
vimeo-1.1.0 test/vimeo/simple/video_test.rb
vimeo-1.0.0 test/vimeo/simple/video_test.rb