Sha256: ec2c38a4c2c2a9426c4146be3885da3018d89b03aac91df9fd2595309d7902ee
Contents?: true
Size: 505 Bytes
Versions: 35
Compression:
Stored size: 505 Bytes
Contents
shared_context "message-fixtures" do let(:uid1) { 123 } let(:uid2) { 345 } let(:uid3) { 567 } let(:uid_iso8859) { 890 } let(:msg1) { {uid: uid1, subject: "Test 1", body: "body 1\nHi"} } let(:msg2) { {uid: uid2, subject: "Test 2", body: "body 2"} } let(:msg3) { {uid: uid3, subject: "Test 3", body: "body 3"} } let(:msg_iso8859) do { uid: uid_iso8859, subject: "iso8859 Body", body: "Ma, perchè?".encode(Encoding::ISO_8859_1).force_encoding("binary") } end end
Version data entries
35 entries across 35 versions & 1 rubygems