Sha256: a9b428239b0f0c372c1ef701e81d00c88851a0c3baf771f81d78f65c2b3e15a7
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slippery-0.1.0 | spec/spec_helper.rb |
slippery-0.0.3 | spec/spec_helper.rb |
slippery-0.0.1 | spec/spec_helper.rb |