module Formstack
  class Collection < SimpleDelegator
    def initialize(array, klass:, context: [])
      @klass = klass
      @context = context
      super(array)
    end

    def create(*args)
      @klass.create(*@context, *args)
    end
  end
end

require 'delegate'

module Formstack
  class Collection < SimpleDelegator
    def initialize(array, klass:, context: [])
      @klass = klass
      @context = context
      super(array)
    end

    def create(*args)
      @klass.create(*@context, *args)
    end
  end
end

Add missing require of `delegate`
Add missing require of `delegate`

Once again, rspec required this for me so when running from the rake
task the tests failed.
