Sha256: d864021baa34f0a45cb2c06ee8c09cca0074be59ef82c1e4a09f3ac488f16302

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

require 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('_')

context "Twitter::Version.to_version" do
  specify "should return #{EXPECTED_VERSION}" do
    Twitter::Version.to_version.should.eql EXPECTED_VERSION
  end
end

context "Twitter::Version.to_name" do
  specify "should return #{EXPECTED_NAME}" do
    Twitter::Version.to_name.should.eql EXPECTED_NAME
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitter4r-0.1.0 spec/twitter/version_spec.rb