test/pagarme/plan.rb in pagarme-1.9.5 vs test/pagarme/plan.rb in pagarme-1.9.6
- old
+ new
@@ -27,16 +27,9 @@
plans.each do |p|
assert p.trial_days == 5
end
end
- should 'be able to create with unformatted amount' do
- plan = test_plan
- plan.amount = 'R$ 10.00'
- plan.create
- assert plan.amount == 1000
- end
-
should 'validate plan' do
exception = assert_raises PagarMeError do
plan = Plan.new({
:amount => -1
})