spec/fixtures.rb in rack-reducer-1.1.0 vs spec/fixtures.rb in rack-reducer-1.1.1
- old
+ new
@@ -15,10 +15,10 @@
select { |item| item[:genre].match(/#{genre}/i) }
},
->(name:) {
select { |item| item[:name].match(/#{name}/i) }
},
- ->(sort:) {
+ ->(sort: 'name') {
sort_by { |item| item[sort.to_sym] }
},
->(releases:) {
select { |item| item[:release_count].to_i == releases.to_i }
},