Sha256: 854eb9843e0e94c20aeec6be06517fb94cf2f3cfdb92c6e999d7a70c338f0cdd
Contents?: true
Size: 708 Bytes
Versions: 3
Compression:
Stored size: 708 Bytes
Contents
# encoding: utf-8 require "rubygems" require "spec" require "rspec-hpricot-matchers" $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + "/../lib") require "kitabu" # Do require libs that are used by the tasks.rb file require "kitabu/redcloth" require "kitabu/blackcloth" require "rdiscount" require "hpricot" require "nokogiri" require File.dirname(__FILE__) + "/exit_matcher" Spec::Runner.configure do |config| config.include(HpricotSpec::Matchers) config.include(ExitMatcher) end def reset_env! ENV["KITABU_ROOT"] = File.dirname(__FILE__) + "/fixtures/rails-guides" ENV["KITABU_NAME"] = File.basename(ENV["KITABU_ROOT"]) ENV.delete("NO_SYNTAX_HIGHLIGHT") end alias :doing :lambda
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kitabu-0.4.7 | spec/spec_helper.rb |
kitabu-0.4.6 | spec/spec_helper.rb |
kitabu-0.4.5 | spec/spec_helper.rb |