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: flatpickr_test.rb
    path of file: ./repos/super/test/integration
    
    the code of the file until where you have to start completion: # typed: true

require "test_helper"

class FlatpickrTest < CapybaraTest
  selenium!

  def test_dates_work_in_california
    current_time = Time.now.in_time_zone("America/Los_Angeles")
    tomorrow = (current_time + 1.day).beginning_of_day

    browser_tz("America/Los_Angeles") do
      # Make sure it creates correctly
      visit(new_admin_sink_path)
      find_field("Date column").click
      set_date!(page, tomorrow)
      assert_difference("Sink.count", 1) do
        click_on("Create Sink")
      end
      sink = Sink.last
      expected = Date.new(tomorrow.year, tomorrow.month, tomorrow.day)
      assert_equal(expected, sink.date_column)
      assert_match(/Date
    
  def test_times_work_in_california
    current_time = Time.now.in_time_zone("America/Los_Angeles")
    tomorrow = (current_time + 1.day).beginning_of_day

    browser_tz("America/Los_Angeles") do
      # Make sure it creates correctly
      visit(new_admin_sink_path)
      find_field("Time column").click
      set_time!(page, tomorrow)
      assert_difference("Sink.count", 1) do
        click_on("Create Sink")
      end
      sink = Sink.last
      expected = tomorrow.dup.in_time_zone("UTC").change(year: 2000, month: 1, day: 1, hour: 0, min: 0, sec: 0)
      assert_equal(expected, sink.time_column)
      assert_match(/Time column 00:00:00/, page.first("table").text)
      # Make sure it no-ops when "edited" without changes
      visit(edit_admin_sink_path(sink))
      assert_equal("00:00:00", find_field("Time column").value)
      assert_difference("Sink.count", 0) do
        click_on("Update Sink")
      end
      sink.reload
      assert_equal(expected, sink.time_column)
      assert_match(/Time column 00:00:00/, page.first("table").text)
    end
  end