Sha256: 390babf6299a247b0ddaa6c76684d3eb21f89dc39a1243a0aeae6ca79b8570e5

Contents?: true

Size: 965 Bytes

Versions: 1

Compression:

Stored size: 965 Bytes

Contents

#--
# Amazon Web Services EC2 Query API Ruby library
#
# Ruby Gem Name::  amazon-ec2
# Author::    Glenn Rempe  (mailto:glenn@elasticworkbench.com)
# Copyright:: Copyright (c) 2007 Glenn Rempe
# License::   Distributes under the same terms as Ruby
# Home::      http://amazon-ec2.rubyforge.org
#++

require File.dirname(__FILE__) + '/test_helper.rb'

context "The EC2 Gem " do
  
  
  setup do
    @major = 0
    @minor = 2
    @tiny = 4
    @string = [@major, @minor, @tiny].join('.')
  end
  
  
  specify "should have an up to date MAJOR version" do
    EC2::VERSION::MAJOR.should.equal @major
  end
  
  
  specify "should have an up to date MINOR version" do
    EC2::VERSION::MINOR.should.equal @minor
  end
  
  
  specify "should have an up to date TINY version" do
    EC2::VERSION::TINY.should.equal @tiny
  end
  
  
  specify "should return a proper version string when #STRING is called" do
    EC2::VERSION::STRING.should.equal @string
  end
  
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amazon-ec2-0.2.4 test/test_EC2_version.rb