Sha256: 4e3121abcdd0a1deb6bf79fd897cf35c0724bf0f96f8c2bfdcfa24c0be7b9340

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 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 "test something" do
      # TODO: add tests for authorization_url
    end
    
    should "allow camel-cased methods" do
      [:check_access_token, :checkAccessToken].each do |method|
        @base.send method
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vimeo-1.2.0 test/vimeo/advanced/base_test.rb
vimeo-1.1.0 test/vimeo/advanced/base_test.rb