File: rdoc_examples_spec.rb

package info (click to toggle)
ruby-indentation 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: ruby: 430; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
require 'spec_helper'

describe "Readme Rdoc examples" do
  rdoc_examples.each do |example_name, example_code|
    it "should pass the #{example_name} example from the README" do
      eval(example_code)
    end
  end
end