Sha256: 70e61d9d2b7961232fec378246d6d4411c25809b6cceb8137fcab0b98b17281a
Contents?: true
Size: 471 Bytes
Versions: 5
Compression:
Stored size: 471 Bytes
Contents
require 'slippery' #require 'devtools/spec_helper' # Helper to load markdown files under spec/fixtures # module FixtureLoader # Given its base name, load the Markdown file from spec/fixtures/#{name}.md # # @param name [String] The short name # @return [String] # @api private # def load_fixture(name) IO.read(File.expand_path(File.join('../fixtures', name) + '.md', __FILE__)) end end RSpec.configure do |config| config.include(FixtureLoader) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
slippery-0.4.2 | spec/spec_helper.rb |
slippery-0.4.1 | spec/spec_helper.rb |
slippery-0.4.0 | spec/spec_helper.rb |
slippery-0.3.0 | spec/spec_helper.rb |
slippery-0.2.0 | spec/spec_helper.rb |