Sha256: a12b6616a33d2e86120a7fd507c71cf317889b3721deac15aced6c5559d53d2d
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 Bytes
Contents
# encoding: binary RSpec.shared_examples "serializable" do context "serialization" do it "supports #to_s" do expect(subject.to_s).to be_a String end it "supports #to_str" do expect(subject.to_str).to be_a String end it "supports #inspect" do expect(subject.inspect).to be_a String end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-3.4.0 | spec/shared/serializable.rb |
rbnacl-3.3.0 | spec/shared/serializable.rb |
rbnacl-3.2.0 | spec/shared/serializable.rb |
rbnacl-3.1.2 | spec/shared/serializable.rb |