Sha256: 126c8f8c19317e973a80620b04375c3687dd39430f2879f8a15d4cb0ce3e3101
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Balboa::Schedule do it 'saves all shift attributes' do schedule = described_class.new(8, 12, 13, 17) expect(schedule).not_to be_nil end it 'responds to start_at' do schedule = described_class.new(8, 12, 13, 17) expect(schedule.start_at).to eq(8) end it 'responds to lunch_at' do schedule = described_class.new(8, 12, 13, 17) expect(schedule.lunch_at).to eq(12) end it 'responds to restart_at' do schedule = described_class.new(8, 12, 13, 17) expect(schedule.restart_at).to eq(13) end it 'responds to leave_at' do schedule = described_class.new(8, 12, 13, 17) expect(schedule.leave_at).to eq(17) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balboa-0.1.7 | spec/balboa/schedule_spec.rb |