Sha256: f781c12536ce5e2f005c5a567b383c82a945d91f0bd0e5456b083e0d8e389f1e

Contents?: true

Size: 690 Bytes

Versions: 1

Compression:

Stored size: 690 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.2 test/lib/prayer_times/prayer_times_test.rb