Skip to content

Commit

Permalink
mark slow examples
Browse files Browse the repository at this point in the history
  • Loading branch information
igneus committed Aug 11, 2024
1 parent 0ee79b8 commit bedfacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/calendar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
end
end

describe '#each' do
describe '#each', slow: true do
let (:day_count) {(c.temporale.start_date..c.temporale.end_date).count}

it 'yields for each iteration' do
Expand Down
2 changes: 1 addition & 1 deletion spec/temporale_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def nativity
end

describe '#each_day' do
it 'yields each date and corresponding CR::Celebrations' do
it 'yields each date and corresponding CR::Celebrations', slow: true do
expect {|block| t.each_day(&block) }.to yield_control.at_least(360).times # liturgical year can be shorter than the civil one

t.each_day do |date,cel|
Expand Down

0 comments on commit bedfacf

Please sign in to comment.