Files
fizzy/test/models/pop_test.rb
T
Jorge Manrubia f960b3fc83 Add tests
2025-04-04 13:35:54 +02:00

9 lines
269 B
Ruby

require "test_helper"
class PopTest < ActiveSupport::TestCase
test "default to the fallback reason if no reason is given" do
assert_equal "Not now", Pop.new(reason: "Not now").reason
assert_equal Account::PopReasons::FALLBACK_LABEL, Pop.new.reason
end
end