houdini/spec/lib/construct/construct_nonprofit_spec.rb

21 lines
619 B
Ruby
Raw Normal View History

require 'rails_helper'
describe ConstructNonprofit, pending: true do
# describe '.construct' do
#
# let(:params) {{name: SecureRandom.uuid, city: 'Oakland', state_code: 'CA', email: 'user@example.com'}}
# let(:user) do
# u = double("User", {current_sign_in_ip: '8.8.8.8'})
# u
# end
# let(:h) do
# VCR.use_cassette 'ConstructNonprofit/h' do
# ConstructNonprofit.construct(user, params)
# end
# end
# it('sets status to unverified'){ expect(h[:verification_status]).to eq('unverified') }
# it('sets a stripe account id'){ expect(h[:stripe_account_id][0..3]).to eq('acct') }
# end
end