Sha256: e293d36746bbd1a710ac913268c36549e6dd21b9863eddfd427cdfacc23e2f3e
Contents?: true
Size: 372 Bytes
Versions: 13
Compression:
Stored size: 372 Bytes
Contents
require 'pork/test' require 'uri' describe 'README.md' do File.read("#{File.dirname(File.expand_path(__FILE__))}/../README.md"). scan(%r{``` ruby\nrequire 'pork/auto'\n(.+?)\n```}m). each.with_index do |(code), index| would 'pass from README.md #%02d' % index do Module.new{ extend Pork::API; instance_eval(code) } ok end end end
Version data entries
13 entries across 13 versions & 1 rubygems