spec/format_spec.rb in json-ld-3.2.0 vs spec/format_spec.rb in json-ld-3.2.1
- old
+ new
@@ -39,10 +39,14 @@
describe "#to_sym" do
specify {expect(described_class.to_sym).to eq :jsonld}
end
+ describe "#to_uri" do
+ specify {expect(described_class.to_uri).to eq RDF::URI('http://www.w3.org/ns/formats/JSON-LD')}
+ end
+
describe ".detect" do
{
jsonld: '{"@context" => "foo"}',
}.each do |sym, str|
it "detects #{sym}" do
@@ -64,10 +68,10 @@
expect(described_class.detect(str)).to be_falsey
end
end
end
- describe ".cli_commands" do
+ describe ".cli_commands", skip: Gem.win_platform? do
require 'rdf/cli'
let(:ttl) {File.expand_path("../test-files/test-1-rdf.ttl", __FILE__)}
let(:json) {File.expand_path("../test-files/test-1-input.json", __FILE__)}
let(:context) {File.expand_path("../test-files/test-1-context.json", __FILE__)}