mad_mimi_two 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/mad_mimi_two/mad_mimi_message.rb +1 -1
- data/test/test_mad_mimi_two.rb +5 -5
- metadata +3 -3
data/test/test_mad_mimi_two.rb
CHANGED
@@ -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 '
|
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 '
|
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 '
|
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 3
|
10
|
+
version: 0.5.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- scott sproule
|