<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 = ActiveMerchant CHANGELOG
 
+* Allow test mode for eWay gateway [Duff OMelia]
 * Don't use Time.parse for the ExpiryDate [cody]
 * Add support for CVV code to Authorize.net CIM [Guy Naor]
 * Add shipping address to Authorize.net [Eric Tarn]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -155,7 +155,11 @@ module ActiveMerchant #:nodoc:
     
         commit(money, post)
       end
-    
+      
+      def test?
+        @options[:test] || super
+      end
+      
       private                       
       def add_creditcard(post, creditcard)
         post[:CardNumber]  = creditcard.number
@@ -267,6 +271,7 @@ module ActiveMerchant #:nodoc:
           test ? TEST_URL : LIVE_URL
         end
       end
+      
     end
   end
 end</diff>
      <filename>lib/active_merchant/billing/gateways/eway.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0ed2db98ab2b48170ac16e4a71a760fca210510c</id>
    </parent>
  </parents>
  <author>
    <name>Duff OMelia</name>
    <email>duff@omelia.org</email>
  </author>
  <url>http://github.com/elevation/active_merchant/commit/28131468772cd39f0ad3bcfa91da95992b9860bc</url>
  <id>28131468772cd39f0ad3bcfa91da95992b9860bc</id>
  <committed-date>2009-05-20T19:53:20-07:00</committed-date>
  <authored-date>2009-05-19T11:41:33-07:00</authored-date>
  <message>We can now instantiate an EwayGateway in test mode by passing in :test =&gt; true when it's created just like many of the other gateways. [#81 state:resolved]</message>
  <tree>2d352eb89f320d2bb96af9f0eed8c93426ee95ba</tree>
  <committer>
    <name>Cody Fauser</name>
    <email>codyfauser@gmail.com</email>
  </committer>
</commit>
