Sha256: 31d79ff209dc4e68a5eb50d5b77e0a3ee496f6b108713186071215457ff73b29
Contents?: true
Size: 422 Bytes
Versions: 7
Compression:
Stored size: 422 Bytes
Contents
require 'spec_helper' describe Ldp::Resource::BinarySource do let(:client) { double } let(:uri) { 'http://example.com/foo/bar' } let(:content) { 'somecontent' } subject { described_class.new(client, uri, content) } it "should not display content to inspect" do expect(subject.inspect).to match /subject=\"http:\/\/example\.com\/foo\/bar\"/ expect(subject.inspect).not_to match /somecontent/ end end
Version data entries
7 entries across 7 versions & 1 rubygems