Sha256: 8eebc2d0c93161b8bac4702613dd8dabbe8e030d0d27b8b18ecf79d827a899ed

Contents?: true

Size: 496 Bytes

Versions: 14

Compression:

Stored size: 496 Bytes

Contents

require 'test_helper'

class BaseTest < Test::Unit::TestCase
  
  context "vimeo advanced base" do
    
    setup do
      @base = Vimeo::Advanced::Base.new("12345", "secret")
    end
    
    should "allow camel-cased methods" do
      stub_custom_get("/oauth/access_token", "advanced/auth/access_token.txt")
      stub_post("", "advanced/auth/check_access_token.json")
      
      [:check_access_token, :checkAccessToken].each do |method|
        @base.send method
      end
    end

  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
vimeo-1.5.4 test/vimeo/advanced/base_test.rb
vimeo-1.5.3 test/vimeo/advanced/base_test.rb
slainer68_vimeo-1.5.2 test/vimeo/advanced/base_test.rb
vimeo-1.5.2 test/vimeo/advanced/base_test.rb
vimeo-1.5.1 test/vimeo/advanced/base_test.rb
vimeo-1.5.0 test/vimeo/advanced/base_test.rb
slainer68_vimeo-1.4.4 test/vimeo/advanced/base_test.rb
slainer68_vimeo-1.4.3 test/vimeo/advanced/base_test.rb
vimeo-1.4.3 test/vimeo/advanced/base_test.rb
vimeo-1.4.2 test/vimeo/advanced/base_test.rb
vimeo-1.4.1 test/vimeo/advanced/base_test.rb
vimeo-1.4.0 test/vimeo/advanced/base_test.rb
vimeo-1.3.0 test/vimeo/advanced/base_test.rb
vimeo-1.2.2 test/vimeo/advanced/base_test.rb