Sha256: 54a0613a5da0880e498b48111a5b14730f92790a90360ebb1931d216faa90051
Contents?: true
Size: 753 Bytes
Versions: 2
Compression:
Stored size: 753 Bytes
Contents
# loaded by all test classes require 'rubygems' if respond_to? 'gem' gem 'rspec' else require_gem 'rspec' end require File.dirname(__FILE__) + '/../lib/s33r' include S33r include S33r::S3Exception include S33r::S3ACL include S33r::S3Logging # set up some constants module Testing ACCESS_KEY = '44CF9590006BF252F707' SECRET_ACCESS_KEY = 'OtxrzxIsfpFjA7SwPzILwy8Bw21TLhquhboDYROV' EMAIL = 'elliot@somedomain.com' end def load_test_xml(filename) clean_xml(File.open(File.join(File.dirname(__FILE__), '/files', filename)).read) end # convenience for highlighting tasks def todo fail end # clean newlines and tabs from XML to make comparisons easier def clean_xml(xml_str) xml_str.gsub!(/\t/, '') xml_str.gsub!(/\n/, '') xml_str end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
s33r-0.5.4 | test/test_setup.rb |
s33r-0.5.5 | test/test_setup.rb |