Sha256: 006e24ab3ea3e86147d1b093a09a07752971b39793e3d3b038bf4745adb2b858

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

require "test_helper"

class TestResetResponse < Test::Unit::TestCase
  
  def setup
    body = <<-RESPONSE
    <RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2007-01-03/">
        <return>true</return>
    </RebootInstancesResponse>
    RESPONSE
    @response = EC2::ResetInstancesResponse.new(stub(:body => body, :is_a? => true))
  end
  
  def test_parse
    assert_equal true, @response.parse
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amazon-ec2-0.1.0 test/test_responses.rb
amazon-ec2-0.0.8 test/test_responses.rb