Skip to content

Commit

Permalink
Capture Standard output in writer tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jun 19, 2023
1 parent 7764b0c commit 168ebbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/writer_spec.rb
Expand Up @@ -8,7 +8,7 @@ class FOO < RDF::Vocabulary("http://foo/"); end
describe "RDF::RDFXML::Writer" do
let(:logger) {RDF::Spec.logger}
it_behaves_like 'an RDF::Writer' do
let(:writer) {RDF::RDFXML::Writer.new}
let(:writer) {RDF::RDFXML::Writer.new(::StringIO.new)}
end

describe "#buffer" do
Expand Down

0 comments on commit 168ebbb

Please sign in to comment.