Sha256: 0d91310f02cb029431d35ec32a57454448bbf93584ec70648be7f1eb4285d9db
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 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:first-child').text end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems