Sha256: f4e3a1bc2d70d468efdf1d3b3c8167e94b5134672fed09f60b2cf6719c91080f

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

require 'pathname'
require 'cork'
require 'rspec'
require 'plist'
require 'fakefs/spec_helpers'

ROOT = Pathname.new(File.expand_path('../../', __FILE__))
$LOAD_PATH.unshift((ROOT + 'lib').to_s)
$LOAD_PATH.unshift((ROOT + 'spec').to_s)

require 'playground_book_lint'
require 'playground_book_lint/abstract_linter'
require 'playground_book_lint/chapter_linter'
require 'playground_book_lint/chapter_manifest_linter'
require 'playground_book_lint/contents_linter'
require 'playground_book_lint/manifest_linter'
require 'playground_book_lint/page_linter'
require 'playground_book_lint/page_manifest_linter'
require 'playground_book_lint/root_manifest_linter'


RSpec.configure do |config|
  config.color = true

  config.order = :random
  Kernel.srand config.seed
end

def test_playground_book
  'spec/fixtures/Starter.playgroundbook'
end

PlaygroundBookLint::AbstractLinter.ui = Cork::Board.new(silent: true)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playground-book-lint-0.0.1 spec/spec_helper.rb