mad_mimi_two 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  gem 'mail'
3
3
  require "mail"
4
4
  require "net/https"
5
- require 'mad_mimi_mailer'
5
+ require 'mad_mimi_two'
6
6
  gem 'activesupport'
7
7
  require 'active_support/core_ext/class/attribute_accessors'
8
8
 
@@ -19,7 +19,7 @@ class TestMadMimiTwo < Test::Unit::TestCase
19
19
  test="hello there"
20
20
  hashv={ :body => test, :user => 'string'}
21
21
  t=MadMimiTwo::MadMimiMessage.new do
22
- subject 'tsubj test subject'
22
+ subject 'email from test case: test_header'
23
23
  to 'scott.sproule@ficonab.com'
24
24
  # cc admin
25
25
  promotion 'new_crm'
@@ -40,7 +40,7 @@ class TestMadMimiTwo < Test::Unit::TestCase
40
40
  def test_header_setup2
41
41
  test="hello there"
42
42
  t=MadMimiTwo::MadMimiMessage.new do
43
- subject 'tsubj test subject'
43
+ subject 'email from test case: test_header_setup2'
44
44
  to 'scott.sproule@ficonab.com'
45
45
  # cc admin
46
46
  promotion 'new_crm'
@@ -55,10 +55,10 @@ class TestMadMimiTwo < Test::Unit::TestCase
55
55
  assert t.email_placeholders.value?("hello there"), "placeholders seem wrong #{t.email_placeholders}"
56
56
  #assert t[:promotion].to_s=='new_crm', 'promotion wrong'
57
57
  end
58
- def test_sending_mesage
58
+ def test_sending_mesage # PLEASE NOTE THAT YOUR MAD MIMI ACCOUNT NEEDS PROMOTION CALLED new_crm accepting user and url
59
59
  thash={:user => 'test', :url => 'test.estormtech.com' }
60
60
  t=MadMimiTwo::MadMimiMessage.new do
61
- subject 'tsubj test subject'
61
+ subject 'email from test case: test_sending_message'
62
62
  to 'scott.sproule@ficonab.com'
63
63
  # cc admin
64
64
  promotion 'new_crm'
@@ -77,7 +77,7 @@ class TestMadMimiTwo < Test::Unit::TestCase
77
77
  #assert t[:promotion].to_s=='new_crm', 'promotion wrong'
78
78
  end
79
79
  def test_check_status
80
- # puts "message id: 1159748168" (old message id)
80
+ # puts "message id: 1159748168" (old message id) PUT IN ONE OF YOUR MESSAGE IDs to check
81
81
  t=MadMimiTwo::MadMimiMessage.new
82
82
  r=t.check_status('1159748168')
83
83
  puts "'r is ' #{r}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mad_mimi_two
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - scott sproule