Sha256: 9ed428bc9d7e010e59fb7948580c3322faef5a13033c1f574bf8054f258e2294

Contents?: true

Size: 439 Bytes

Versions: 12

Compression:

Stored size: 439 Bytes

Contents

require 'fileutils'
require 'rr'
require 'test/unit'

World do
  include Test::Unit::Assertions
end

TEST_DIR    = File.join('/', 'tmp', 'jekyll')
JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll')

def run_jekyll(opts = {})
  command = JEKYLL_PATH
  command << " >> /dev/null 2>&1" if opts[:debug].nil?
  system command
end

# work around "invalid option: --format" cucumber bug (see #296)
Test::Unit.run = true if RUBY_VERSION < '1.9'

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
jekyll-0.12.1 features/support/env.rb
jekyll-reloaded-0.12.2 features/support/env.rb
jekyll-0.12.0 features/support/env.rb
spinto-jekyll-0.11.2.5 features/support/env.rb
jekyll-reloaded-0.12.1 features/support/env.rb
jekyll-reloaded-0.12 features/support/env.rb
spinto-jekyll-0.11.2.3 features/support/env.rb
spinto-jekyll-0.11.2.2 features/support/env.rb
spinto-jekyll-0.11.2.1 features/support/env.rb
jekyll-0.11.2 features/support/env.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/jekyll-0.11.0/features/support/env.rb
jekyll-0.11.0 features/support/env.rb