Sha256: 88a46d2df0f881bef983b4cd82ef13fe285d7673d682df5d93d02599737f2bd5

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

require 'spec_helper'

class ClassWithDoctests
  # >> ClassWithDoctests.a
  # => 'a'
  def self.a
  end
end

RSpec.configure do |c|
  c.extend Doctest::RSpec::DoctestHelpers
end

describe 'doctest' do
  doctest ClassWithDoctests
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doctest-rspec-0.0.2 spec/fixtures/specfile_with_doctests.rb
doctest-rspec-0.0.1 spec/fixtures/specfile_with_doctests.rb