Sha256: c0f6b249bfb3878c8cf2e4b03cf4a67d5c795be8bac7d7fbb014ad910df0a76b

Contents?: true

Size: 567 Bytes

Versions: 3

Compression:

Stored size: 567 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))

VERSION_LIST = [Twitter::Version::MAJOR, Twitter::Version::MINOR, Twitter::Version::REVISION]

EXPECTED_VERSION = VERSION_LIST.join('.')
EXPECTED_NAME = VERSION_LIST.join('_')

describe Twitter::Version, ".to_version" do
  it "should return #{EXPECTED_VERSION}" do
    Twitter::Version.to_version.should eql(EXPECTED_VERSION)
  end
end

describe Twitter::Version, ".to_name" do
  it "should return #{EXPECTED_NAME}" do
    Twitter::Version.to_name.should eql(EXPECTED_NAME)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twitter4r-0.7.0 spec/twitter/version_spec.rb
twitter4r-0.6.0 spec/twitter/version_spec.rb
twitter4r-0.5.3 spec/twitter/version_spec.rb