lib/stubs/aws_stubs.rb in cloud_powers-0.2.7.6 vs lib/stubs/aws_stubs.rb in cloud_powers-0.2.7.7

- old
+ new

@@ -2,10 +2,10 @@ module CloudPowers # Provides stubbing for development work in CloudPowers or in a project that uses is module AwsStubs # Stub metadata for EC2 instance - def instance_metadata_stub(opts = {}) + def self.instance_metadata_stub(opts = {}) { 'ami-id' => 'ami-1234', 'ami-launch-index' => '1', 'ami-manifest-path' => '', 'block-device-mapping/' => '',