Sha256: ca212d114ca39f030403eec6653fbdbf900ff142268d7653a72d0aad0ffe54d5

Contents?: true

Size: 746 Bytes

Versions: 16

Compression:

Stored size: 746 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}fromRdf-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
          expect {t.run self}.not_to write.to(:error)
        end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
json-ld-3.2.4 spec/suite_from_rdf_spec.rb
json-ld-3.2.3 spec/suite_from_rdf_spec.rb
json-ld-3.2.2 spec/suite_from_rdf_spec.rb
json-ld-3.2.1 spec/suite_from_rdf_spec.rb
json-ld-3.2.0 spec/suite_from_rdf_spec.rb
json-ld-3.1.10 spec/suite_from_rdf_spec.rb
json-ld-3.1.9 spec/suite_from_rdf_spec.rb
json-ld-3.1.8 spec/suite_from_rdf_spec.rb
json-ld-3.1.7 spec/suite_from_rdf_spec.rb
json-ld-3.1.6 spec/suite_from_rdf_spec.rb
json-ld-3.1.5 spec/suite_from_rdf_spec.rb
json-ld-3.1.4 spec/suite_from_rdf_spec.rb
json-ld-3.1.3 spec/suite_from_rdf_spec.rb
json-ld-3.1.2 spec/suite_from_rdf_spec.rb
json-ld-3.1.1 spec/suite_from_rdf_spec.rb
json-ld-3.1.0 spec/suite_from_rdf_spec.rb