Sha256: 319009d9b1ce56b7e043b89719f3b7e1b2fe217a54a169a263be3bc97567fd56

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

# encoding: UTF-8
require 'helper'

describe PrayerTimes do

  describe 'Class' do
    subject { PrayerTimes }
    it { expect(subject).to respond_to(:calculation_method) }
    it { expect(subject).to respond_to(:calculation_methods) }
    it { expect(subject).to respond_to(:time_format) }
    it { expect(subject).to respond_to(:times_names) }
    it { expect(subject).to respond_to(:time_suffixes) }
    it { expect(subject).to respond_to(:invalid_time) }
    it { expect(subject).to respond_to(:iterations_count) }
    it { expect(subject).to respond_to(:times_offsets) }
    it { expect(subject).to be_a(PrayerTimes::Setters) }
  end

  describe '.new' do
    subject { PrayerTimes.new }
    it { expect(subject).to be_a(PrayerTimes::Calculator) }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prayer_times-0.1.3 spec/prayer_times/prayer_times_spec.rb