Skip to content

Commit e37ffef

Browse files
committed
Revert using assumedTestBase for setting Base IRI.
1 parent 736a859 commit e37ffef

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

spec/suite_helper.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,15 @@ def self.from_jsonld(json)
117117

118118
def entries
119119
# Map entries to resources
120-
attributes['entries'].map {|e| Entry.new(e, base_iri: attributes['baseIri'])}
120+
attributes['entries'].map {|e| Entry.new(e)}
121121
end
122122
end
123123

124124
class Entry < JSON::LD::Resource
125125
attr_accessor :logger
126126

127-
def initialize(json, base_iri:)
128-
@base_iri = base_iri
129-
super
130-
end
131-
132127
def base
133-
RDF::URI(@base_iri || action)
128+
RDF::URI(action)
134129
end
135130

136131
# Alias data and query

0 commit comments

Comments
 (0)