diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..c7a3d35 --- /dev/null +++ b/.rspec @@ -0,0 +1 @@ +--require ./spec/spec_helper.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..d6453b8 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +require 'asciidoctor' +require 'asciidoctor/foodogsquared-extensions' + +RSpec.configure do + def fixtures_dir + File.join __dir__, 'fixtures' + end + + def fixtures_file path + File.join fixtures_dir, path + end +end