Skip to content

Commit

Permalink
fix conflict between Asciidoctor and RSpec over Extensions constant
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Sep 12, 2013
1 parent 44120d8 commit fb9755d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/asciidoc_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
}

verify_attributes = lambda { |output, page|
include RSpec::Matchers
expect(output).to BuiltIn::Include.new("docname=#{page.simple_name};")
expect(output).to BuiltIn::Include.new("docfile=#{File.expand_path page.source_path};")
expect(output).to BuiltIn::Include.new("docdir=#{File.expand_path File.dirname(page.source_path)};")
expect(output).to RSpec::Matchers::BuiltIn::Include.new("docname=#{page.simple_name};")
expect(output).to RSpec::Matchers::BuiltIn::Include.new("docfile=#{File.expand_path page.source_path};")
expect(output).to RSpec::Matchers::BuiltIn::Include.new("docdir=#{File.expand_path File.dirname(page.source_path)};")
}

theories =
Expand Down

0 comments on commit fb9755d

Please sign in to comment.