File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ group :debug do
1919 gem "redcarpet" , platforms : :ruby
2020 gem "byebug" , platforms : :mri
2121 gem 'rubinius-debugger' , platform : :rbx
22+ gem 'ruby-debug' , platform : :jruby
2223 gem 'guard-rspec'
2324end
2425
Original file line number Diff line number Diff line change 272272 end
273273
274274 describe "BNodes" do
275- it "should read two named nodes as the same node" do
275+ it "should read two named nodes as the same node" , pending : ( "#to_ary messing with JRuby" if RUBY_ENGINE == 'jruby' ) do
276276 stmt = reader . new ( "_:a <http://www.w3.org/2002/07/owl#sameAs> _:a ." . freeze ) . first
277277 expect ( stmt . subject ) . to eq stmt . object
278278 expect ( stmt . subject ) . to be_eql ( stmt . object )
279279 end
280280
281- it "should read two named nodes in different instances as different nodes" do
281+ it "should read two named nodes in different instances as different nodes" , pending : ( "#to_ary messing with JRuby" if RUBY_ENGINE == 'jruby' ) do
282282 stmt1 = reader . new ( "_:a <http://www.w3.org/2002/07/owl#sameAs> _:a ." . freeze ) . first
283283 stmt2 = reader . new ( "_:a <http://www.w3.org/2002/07/owl#sameAs> _:a ." . freeze ) . first
284284 expect ( stmt1 . subject ) . to eq stmt2 . subject
300300 "é" => '<http://subj> <http://pred> "\u00E9" .' ,
301301 "€" => '<http://subj> <http://pred> "\u20AC" .' ,
302302 } . each_pair do |contents , triple |
303- specify "test #{ contents } " do
303+ specify "test #{ contents } " , pending : ( "#to_ary messing with JRuby" if RUBY_ENGINE == 'jruby' ) do
304304 stmt = reader . new ( triple ) . first
305305 expect ( stmt . object . value ) . to eq contents
306306 ttl = RDF ::Turtle ::Reader . new ( triple ) . first
You can’t perform that action at this time.
0 commit comments