Sha256: 3167681fff2ccd8cfa77ff61b3c351c5664d2fd37172a77649bcb3bfbb8f23cf

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 Bytes

Contents

require 'simplecov'
# require 'byebug'

SimpleCov.profiles.define 'gem' do
  add_filter '/spec/'
  add_filter '/autotest/'
  add_group 'Libraries', '/lib/'
end
SimpleCov.start 'gem'

require 'reverse_asciidoctor'

RSpec.configure do |config|
  config.after(:each) do
    ReverseAsciidoctor.instance_variable_set(:@config, nil)
  end
end

def node_for(html)
  Nokogiri::HTML.parse(html).root.child.child
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
reverse_adoc-0.2.7 spec/spec_helper.rb
reverse_adoc-0.2.6 spec/spec_helper.rb
reverse_adoc-0.2.5 spec/spec_helper.rb
reverse_adoc-0.2.4 spec/spec_helper.rb
reverse_adoc-0.2.3 spec/spec_helper.rb
reverse_asciidoctor-0.2.2 spec/spec_helper.rb
reverse_asciidoctor-0.2.1 spec/spec_helper.rb
reverse_asciidoctor-0.2.0 spec/spec_helper.rb
reverse_asciidoctor-0.1.0 spec/spec_helper.rb