mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-30 22:57:56 +00:00
Setup RSpec
This commit is contained in:
parent
6e5aa75a6b
commit
ad2834cafe
14
spec/spec_helper.rb
Normal file
14
spec/spec_helper.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user