require 'minitest/ext/spec'

module MiniTest::Context 

  class << self
    attr_accessor :list

    def define name, &block
      (@list ||= {})[name] = block
    end
  end

end


require 'minitest/ext/spec'

module MiniTest::Context 

  class << self
    attr_reader :list

    def define name, &block
      (@list ||= {})[name] = block
    end
  end

end

Replace attr_accessor :list with attr_reader :list
Replace attr_accessor :list with attr_reader :list
