Sha256: 1686ff62aedfd516430465ccf0d70e0384a3c6d61ca66a4a52eda70f14d73a83

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

require 'spec_helper'
require 'roda'

class RodaTest < Roda
  plugin :json
  route do |r|
    r.get('artists') { Rack::Reducer.call(r.params, SEQUEL_QUERY).to_a }
  end
end

describe RodaTest do
  it_behaves_like Rack::Reducer
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-reducer-1.0.1 spec/roda_spec.rb
rack-reducer-1.0.0 spec/roda_spec.rb
rack-reducer-0.1.2 spec/roda_spec.rb