Sha256: 8a7814b1ab793a67e0cee3463f89d62e6407e437cca3890199926c876ced17f5

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

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

module Playgroundbook
  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

2 entries across 2 versions & 1 rubygems

Version Path
playgroundbook-0.6.0 spec/linter/contents_linter_spec.rb
playgroundbook-0.4.0 spec/linter/contents_linter_spec.rb