Sha256: d5284044e69cabe57a156b9df6539a0d799d5c53b32d11cccbf2340c7df93948
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
require 'colorator' has_failed = false def test(file) diff = `diff expected/#{file}.html site/#{file}.html` if diff.size == 0 and File.exist?("site/#{file}.html") puts "passed".green else puts "failed".red puts diff has_failed = true end end `rm -rf site; bundle exec jekyll build --trace` test('index') test('textile-test') abort if has_failed
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octopress-gist-1.0.1 | test/test.rb |