Skip to content

Commit

Permalink
Only load config file if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Mar 20, 2013
1 parent c7d66c3 commit 018619a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/support/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
end

AfterConfiguration do
AWS.config(test_config)
AWS.config(test_config) if test_config
handler = AWS::Core::Http::Handler.new(AWS.config.http_handler) do |req, resp, read_block|
(@requests_made ||= []) << req
super(req, resp, &read_block)
Expand Down

0 comments on commit 018619a

Please sign in to comment.