Sha256: 96e4c47c3a261bdce89e331b010fcfae50b8d6fe6d25f84c68192f525496c512

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

require_relative '../../test_helper'

describe PrayerTimes do

  describe "Class" do
    subject{PrayerTimes}
    it{subject.must_respond_to :calculation_method}
    it{subject.must_respond_to :calculation_methods}
    it{subject.must_respond_to :time_format}
    it{subject.must_respond_to :times_names}
    it{subject.must_respond_to :time_suffixes}
    it{subject.must_respond_to :invalid_time}
    it{subject.must_respond_to :iterations_count}
    it{subject.must_respond_to :times_offsets}
    it{subject.must_be_kind_of PrayerTimes::Setters}
  end
  
  describe ".new" do
    subject{PrayerTimes.new}
    it{subject.must_be_kind_of PrayerTimes::Calculator}
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prayer_times-0.1.0 test/lib/prayer_times/prayer_times_test.rb