Sha256: 556cfec7caec732f7cc5462a118a104c8a7baaecc420bf0292f689a548ab276f
Contents?: true
Size: 477 Bytes
Versions: 3
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require 'capybara/dsl' module Balboa module Interactor module Command class FetchLastPunchCommand include Capybara::DSL def execute punches_path find_last_punch_date end private def punches_path visit('/punches') end def find_last_punch_date find('tbody tr:first-child td:nth-child(2)').text end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems