saucy 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
data/config/locales/en.yml
CHANGED
@@ -18,7 +18,7 @@ en:
|
|
18
18
|
contact: "If you need more time to evaluate %{app_name} or you have any questions, please don't hesitate to contact me."
|
19
19
|
completed_trial:
|
20
20
|
greeting: Thanks for giving us a try!
|
21
|
-
|
21
|
+
notice: "Your 30 day trial for %{account_name} is over, and your account has become inactive. If you'd like to continue using your account, please take a moment to choose a paid plan:"
|
22
22
|
contact: "If you need more time to evaluate %{app_name} or you have any questions, please don't hesitate to contact me."
|
23
23
|
new_unactivated:
|
24
24
|
body: |-
|
@@ -55,4 +55,14 @@ describe "with an account and transaction" do
|
|
55
55
|
subject.reply_to.should == [Saucy::Configuration.support_email_address]
|
56
56
|
end
|
57
57
|
end
|
58
|
+
|
59
|
+
describe BillingMailer, "completed trial" do
|
60
|
+
subject { BillingMailer.completed_trial(account) }
|
61
|
+
|
62
|
+
it "uses the completed trial notice" do
|
63
|
+
notice = I18n.translate!("billing_mailer.completed_trial.notice",
|
64
|
+
:account_name => account.name)
|
65
|
+
subject.body.should include(notice)
|
66
|
+
end
|
67
|
+
end
|
58
68
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saucy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 1
|
10
|
+
version: 0.8.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- thoughtbot, inc.
|