require 'spec_helper'

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