Sha256: 31686de03cbea708b22318b373b1e43db1934172b363db4590323cb19cdbd132
Contents?: true
Size: 642 Bytes
Versions: 7
Compression:
Stored size: 642 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'EC2.get_console_output' do describe 'success' do before(:each) do @instance_id = ec2.run_instances('ami-5ee70037', 1, 1).body['instancesSet'].first['instanceId'] end after(:each) do ec2.terminate_instances([@instance_id]) end it "should return proper attributes" do actual = ec2.get_console_output(@instance_id) actual.body['instanceId'].should be_a(String) actual.body['output'].should be_a(String) actual.body['requestId'].should be_a(String) actual.body['timestamp'].should be_a(Time) end end end
Version data entries
7 entries across 7 versions & 1 rubygems