Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet committed Apr 12, 2022
1 parent e922a0a commit 0e2db6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions spec/factories/charge_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
amount_currency { 'EUR' }

pro_rata { false }
charge_model { 'standard' }

factory :one_time_charge do
frequency { :one_time }
Expand All @@ -15,7 +16,5 @@
factory :recurring_charge do
frequency { :recurring }
end

charge_model { 'standard' }
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

let(:charge) do
create(
:charge,
:one_time_charge,
amount_cents: 500,
charge_model: 'standard',
)
Expand Down

0 comments on commit 0e2db6b

Please sign in to comment.