Sha256: 20f31c8f340e16f6cbd3122cfd79a90f9781fbf0eb6fa1cb11f6293beb8d4f78

Contents?: true

Size: 356 Bytes

Versions: 14

Compression:

Stored size: 356 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe MList::EmailServer::Base do
  before do
    @email_server = MList::EmailServer::Fake.new(:domain => 'test.host')
  end
  
  it 'should provide unique message id generator' do
    @email_server.generate_message_id.should match(/([a-f0-9]+-){4,}[a-f0-9]+@test.host/)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mlist-0.1.23 spec/models/email_server/base_spec.rb
mlist-0.1.22 spec/models/email_server/base_spec.rb
mlist-0.1.21 spec/models/email_server/base_spec.rb
mlist-0.1.20 spec/models/email_server/base_spec.rb
mlist-0.1.19 spec/models/email_server/base_spec.rb
mlist-0.1.18 spec/models/email_server/base_spec.rb
mlist-0.1.17 spec/models/email_server/base_spec.rb
mlist-0.1.16 spec/models/email_server/base_spec.rb
mlist-0.1.14 spec/models/email_server/base_spec.rb
mlist-0.1.13 spec/models/email_server/base_spec.rb
mlist-0.1.12 spec/models/email_server/base_spec.rb
mlist-0.1.11 spec/models/email_server/base_spec.rb
mlist-0.1.10 spec/models/email_server/base_spec.rb
mlist-0.1.9 spec/models/email_server/base_spec.rb