Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

Fix relative-path inclusion to work with Ruby 1.9.2 and later. #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test_Autoscaling_groups.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/test_helper.rb'
require File.expand_path('../test_helper.rb', __FILE__)

context "autoscaling " do
before do
Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "The EC2 method " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_availability_zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 availability zones" do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "The EC2 console " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_elastic_ips.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 elastic IP addresses " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_image_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 image_attributes " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_images.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "An EC2 image " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_instances.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 instances " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_keypairs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 keypairs " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_password.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "The EC2 password " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_products.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "An EC2 instance " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_responses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "The Response classes " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_s3_xmlsimple.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

# NOTE : These tests exercise amazon-ec2 when used with the aws/s3 gem
# which was demonstrating some breaking behavior. The fix was to
Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_security_groups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 security groups " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_snapshots.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 snaphots " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_spot_instance_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "An EC2 spot instances request " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_spot_prices.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/test_helper.rb'
require File.expand_path('../test_helper.rb', __FILE__)

context "Spot price history " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_subnets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "The EC2 subnets " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_EC2_volumes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Home:: https://github.com/grempe/amazon-ec2/tree/master
#++

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

context "EC2 volumes " do

Expand Down
2 changes: 1 addition & 1 deletion test/test_ELB_load_balancers.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/test_helper.rb'
require File.expand_path('../test_helper.rb', __FILE__)

context "elb load balancers " do
before do
Expand Down
2 changes: 1 addition & 1 deletion test/test_RDS.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/test_helper.rb'
require File.expand_path('../test_helper.rb', __FILE__)

context "rds databases " do
before do
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
end
}

require File.dirname(__FILE__) + '/../lib/AWS'
require File.expand_path('../../lib/AWS', __FILE__)