Sha256: de634ac04beda6e18326dda0c417233752bd433a39b5cab6b71b478db4c9ff37

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

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

module PlaygroundBookLint
  describe PageManifestLinter do
    include FakeFS::SpecHelpers
    let(:page_manifest_linter) { PageManifestLinter.new() }

    it 'does not fail' do
      # TODO: We're not checking optional values yet, more tests to come.
      # See page_manifest_linter.rb and https://github.com/ashfurrow/playground-book-lint/issues/3 for details.

      FakeFS do
        plist = {'Name' => 'Test Page'}.to_plist
        File.open('Manifest.plist', 'w') { |f| f.write(plist) }
        expect{ page_manifest_linter.lint() }.to_not raise_error
      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/page_manifest_linter_spec.rb