Sha256: c810ddde42fe524de238007ae20d576a4613d4855d876d8db4f7581aea03e070

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

# encoding: UTF-8
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.1 test/lib/prayer_times/prayer_times_test.rb