You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: price_adjustment_test.rb
    path of file: ./repos/workarea/core/test/models/workarea
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  class PriceAdjustmentTest < TestCase
    def test_discount
      price_adjustment = PriceAdjustment.new

      price_adjustment.amount = -1.to_m
      assert(price_adjustment.discount?)

      price_adjus
    
    def test_discount
      price_adjustment = PriceAdjustment.new

      price_adjustment.amount = -1.to_m
      assert(price_adjustment.discount?)

      price_adjustment.data = { 'override' => true }
      refute(price_adjustment.discount?)

      price_adjustment.amount = 5.to_m
      price_adjustment.data = { 'discount_value' => 1 }
      assert(price_adjustment.discount?)

      price_adjustment.data['override'] = true
      assert(price_adjustment.discount?)

      price_adjustment.amount = 5.to_m
      price_adjustment.data = {}
      refute(price_adjustment.discount?)
    end