Sha256: e6287971ef218046d8d107ff9bb49723c27f993adf98c35206ef45f8c23e0fe7

Contents?: true

Size: 338 Bytes

Versions: 18

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe WorkingHours do

  it 'can be used to call computation methods' do
    [ :advance_to_working_time, :return_to_working_time,
      :working_day?, :in_working_hours?,
      :working_days_between, :working_time_between
    ].each do |method|
      expect(WorkingHours).to respond_to(method)
    end
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
working_hours-1.5.0 spec/working_hours_spec.rb
working_hours-1.4.1 spec/working_hours_spec.rb
working_hours-1.4.0 spec/working_hours_spec.rb
working_hours-1.3.2 spec/working_hours_spec.rb
working_hours-1.3.1 spec/working_hours_spec.rb
working_hours-1.3.0 spec/working_hours_spec.rb
working_hours-1.2.0 spec/working_hours_spec.rb
working_hours-1.1.4 spec/working_hours_spec.rb
working_hours-1.1.3 spec/working_hours_spec.rb
working_hours-1.1.2 spec/working_hours_spec.rb
working_hours-1.1.1 spec/working_hours_spec.rb
working_hours-1.1.0 spec/working_hours_spec.rb
working_hours-1.0.4 spec/working_hours_spec.rb
working_hours-1.0.3 spec/working_hours_spec.rb
working_hours-1.0.2 spec/working_hours_spec.rb
working_hours-1.0.1 spec/working_hours_spec.rb
working_hours-1.0.0 spec/working_hours_spec.rb
working_hours-0.9.0 spec/working_hours_spec.rb