spec/spec_helper.rb in ruby-mws-0.0.4 vs spec/spec_helper.rb in ruby-mws-0.1

- old
+ new

@@ -12,11 +12,11 @@ def mws_object @mws_object ||= MWS.new(auth_params) end - # To test, create spec/credentials.yml or fill in below + # To test, create spec/credentials.yml def auth_params @auth_params ||= begin hsh = YAML.load(File.open(File.join(File.expand_path(File.dirname(__FILE__)), 'credentials.yml'))).symbolize_keys! rescue @@ -25,9 +25,14 @@ :secret_access_key => 'super_secret', :seller_id => 'doma', :marketplace_id => '123' } end + end + + def timestamp + # use a recent timestamp here... how to replace this? + "2013-11-17T21:17:59-06:00" end end class TestWorksError < StandardError end \ No newline at end of file