Skip to content

Commit

Permalink
drop a superfluous conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
igneus committed Mar 21, 2023
1 parent f67dfd7 commit 34f3665
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions liturgical_law/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ expect(a).to be b
# years and should be used in all examples which test across several years
# and don't require particular ones
expect(years).to be_an Enumerable
yrs = years.to_a
expect(yrs).to all(be_an(Integer))
expect(years).to all(be_an(Integer))

# method `years_with` returns an array of years (which are valid liturgical years
# for calendarium-romanum) matching the specified condition
Expand Down

0 comments on commit 34f3665

Please sign in to comment.