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

Version Path
pork-1.5.0 test/test_readme.rb
pork-1.4.4 test/test_readme.rb
pork-1.4.3 test/test_readme.rb
pork-1.4.2 test/test_readme.rb
pork-1.4.1 test/test_readme.rb
pork-1.4.0 test/test_readme.rb
pork-1.3.1 test/test_readme.rb
pork-1.3.0 test/test_readme.rb
pork-1.2.4 test/test_readme.rb
pork-1.2.3 test/test_readme.rb
pork-1.2.2 test/test_readme.rb
pork-1.2.1 test/test_readme.rb
pork-1.2.0 test/test_readme.rb