Sha256: 83f3c62e4d7a8bfa14fc1385e17b5715ffac6153b0c87730349926230326d6fe

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

# coding: utf-8
require_relative 'spec_helper'

describe JSON::LD do
  describe "test suite" do
    require_relative 'suite_helper'
    m = Fixtures::SuiteTest::Manifest.open("#{Fixtures::SuiteTest::SUITE}compact-manifest.jsonld")
    describe m.name do
      m.entries.each do |t|
        specify "#{t.property('@id')}: #{t.name} unordered#{' (negative test)' unless t.positiveTest?}" do
          t.options[:ordered] = false
          t.run self
        end

        specify "#{t.property('@id')}: #{t.name} ordered#{' (negative test)' unless t.positiveTest?}" do
          t.options[:ordered] = true
          t.run self
        end
      end
    end
  end
end unless ENV['CI']

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json-ld-3.0.2 spec/suite_compact_spec.rb
json-ld-3.0.1 spec/suite_compact_spec.rb