igneus / calendarium-romanum

liturgical calendar library (Roman Catholic, post-Vatican II)
50 stars 21 forks source link

spec/calendar_spec.rb: replace instance variables with let #66

Closed igneus closed 3 years ago

igneus commented 3 years ago

In spec/calendar_spec.rb, as a remnant from early times of the project, data shared by multiple examples are mostly stored in instance variables. The task is to refactor these specs to use the let helper instead.

May be useful: primer for those who don't know much about RSpec