Sha256: 5aa84feb90c32713d6d2114351e966a2331e36554a39543e2a452e2c2e220913
Contents?: true
Size: 543 Bytes
Versions: 23
Compression:
Stored size: 543 Bytes
Contents
describe "config/series.yml" do # rubocop:disable RSpec/DescribeClass series = YAML.load_file("#{spec_dir}/../config/series.yml") series.values.uniq {|attributes| attributes["series_name"] }.each do |attributes| context attributes["title"] do describe "started_date" do subject { attributes["started_date"] } it { should be_sunday } end describe "ended_date", if: attributes["ended_date"] do subject { attributes["ended_date"] } it { should be_sunday } end end end end
Version data entries
23 entries across 23 versions & 1 rubygems