require 'spec_helper'

describe Spree::Admin::ReturnAuthorizationsController do
  # Regression test for #1370 #3
  let!(:order) { Factory(:order) }
  it "can create a return authorization" do
    post :create, :order_id => order.to_param, :return_authorization => { :amount => 0.0, :reason => "" }
    response.should be_success
  end
end
