Sha256: 691f083f4ce936846ab0b5e601deb0c9f99d3154fbde5e8f10fb7603716b0b3e

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

module PlaygroundBookLint
  describe ContentsLinter do
    include FakeFS::SpecHelpers
    let(:contents_linter) { ContentsLinter.new(root_manifest_linter) }
    let(:root_manifest_linter) { double(RootManifestLinter) }

    it 'calls through to root manifest linter' do
      expect(root_manifest_linter).to receive(:lint)

      FakeFS do
        Dir.mkdir 'Contents'
        contents_linter.lint()
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playground-book-lint-0.0.1 spec/playground_book_lint/contents_linter_spec.rb