Skip to content

Commit

Permalink
Revert using assumedTestBase for setting Base IRI.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jan 8, 2024
1 parent 736a859 commit e37ffef
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions spec/suite_helper.rb
Expand Up @@ -117,20 +117,15 @@ def self.from_jsonld(json)

def entries
# Map entries to resources
attributes['entries'].map {|e| Entry.new(e, base_iri: attributes['baseIri'])}
attributes['entries'].map {|e| Entry.new(e)}
end
end

class Entry < JSON::LD::Resource
attr_accessor :logger

def initialize(json, base_iri:)
@base_iri = base_iri
super
end

def base
RDF::URI(@base_iri || action)
RDF::URI(action)
end

# Alias data and query
Expand Down

0 comments on commit e37ffef

Please sign in to comment.