spec/fixtures.rb in rack-reducer-1.1.2 vs spec/fixtures.rb in rack-reducer-2.0.0

- old
+ new

@@ -15,16 +15,13 @@ select { |item| item[:genre].match(/#{genre}/i) } }, ->(name:) { select { |item| item[:name].match(/#{name}/i) } }, - ->(sort: 'name') { - sort_by { |item| item[sort.to_sym] } - }, ->(releases:) { select { |item| item[:release_count].to_i == releases.to_i } }, ] - ArtistReducer = Rack::Reducer.create(DB[:artists], *FILTERS) + ArtistReducer = Rack::Reducer.new(DB[:artists], *FILTERS) end