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: pricing_sku_prices_integration_test.rb
    path of file: ./repos/workarea/admin/test/integration/workarea/admin
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  module Admin
    class PricingSkuPricesIntegrationtest < Workarea::IntegrationTest
      include Admin::IntegrationTest

      def test_creates_price
        sku = create_pricing_sku(
    
      def test_creates_price
        sku = create_pricing_sku(prices: [])

        post admin.pricing_sku_prices_path(sku),
          params: {
            price: {
              regular: '5.00',
              sale: '3.00',
              on_sale: false,
              min_quantity: 2
            }
          }

        sku.reload
        price = sku.prices.first

        assert_equal(5.to_m, price.regular)
        assert_equal(3.to_m, price.sale)
        assert_equal(2, price.min_quantity)
        refute(price.on_sale?)


        post admin.pricing_sku_prices_path(sku),
          params: {
            price: {
              regular: '5.00',
              sale: '',
              min_quantity: 2
            }
          }

        sku.reload
        price = sku.prices.last

        assert_equal(5.to_m, price.regular)
        assert_nil(price.sale)
        assert_equal(2, price.min_quantity)
      end