saucy 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/billing_mailer/new_unactivated.text.erb +1 -1
- data/config/locales/en.yml +4 -1
- data/features/step_definitions/clearance_steps.rb +1 -1
- data/features/step_definitions/rails_steps.rb +1 -1
- data/lib/generators/saucy/features/features_generator.rb +3 -0
- data/lib/generators/saucy/features/templates/features/trial_plans.feature +4 -2
- data/lib/saucy/projects_controller.rb +1 -0
- metadata +3 -3
@@ -1 +1 @@
|
|
1
|
-
<%= t(".body", :app_name => t("app_name")) %>
|
1
|
+
<%= t(".body", :app_name => t("app_name"), :new_project_url => new_account_project_url(@account)) %>
|
data/config/locales/en.yml
CHANGED
@@ -20,7 +20,10 @@ en:
|
|
20
20
|
body: |-
|
21
21
|
Hi,
|
22
22
|
|
23
|
-
I noticed that you
|
23
|
+
I noticed that you started to try out %{app_name}, but you haven't set up any projects yet.
|
24
|
+
|
25
|
+
You can setup a new project by visiting
|
26
|
+
%{new_project_url}
|
24
27
|
|
25
28
|
If you have any questions or need any help getting your %{app_name} account set up, feel free to respond to this email.
|
26
29
|
|
@@ -4,7 +4,7 @@ When /^I bootstrap the application for clearance$/ do
|
|
4
4
|
And I successfully run "rails generate cucumber:install"
|
5
5
|
And I successfully run "rails generate clearance"
|
6
6
|
And I successfully run "rails generate clearance_features"
|
7
|
-
And I configure ActionMailer to use "
|
7
|
+
And I configure ActionMailer to use "www.example.com" as a host
|
8
8
|
And I add flash messages to the layout
|
9
9
|
And I add session links to the layout
|
10
10
|
And I configure "clearance/sessions#new" as the root route
|
@@ -54,6 +54,9 @@ DESC
|
|
54
54
|
when /^the upgrade plan page for the "([^"]+)" account$/
|
55
55
|
account = Account.find_by_name!($1)
|
56
56
|
edit_account_plan_path(account)
|
57
|
+
when /^the new project page for the "([^"]+)" account$/
|
58
|
+
account = Account.find_by_name!($1)
|
59
|
+
new_account_project_path(account)
|
57
60
|
PATHS
|
58
61
|
|
59
62
|
replace_in_file "features/support/paths.rb",
|
@@ -64,11 +64,13 @@ Feature: Trial plans
|
|
64
64
|
And I follow the link sent to "admin@example.com" with subject "Your trial is expiring soon"
|
65
65
|
Then I should be on the upgrade plan page for the "Test" account
|
66
66
|
|
67
|
-
Scenario: Receive a reminder about
|
67
|
+
Scenario: Receive a reminder about activating an account
|
68
68
|
Given an account exists with a name of "Test"
|
69
69
|
And a user exists with an email of "admin@example.com"
|
70
70
|
And "admin@example.com" is an admin of the "Test" account
|
71
71
|
And the "Test" account was created 7 days ago
|
72
72
|
When the daily Saucy jobs are processed
|
73
73
|
Then an email with subject "A check in" should be sent to "admin@example.com"
|
74
|
-
|
74
|
+
When I sign in as "admin@example.com/password"
|
75
|
+
And I follow the link sent to "admin@example.com" with subject "A check in"
|
76
|
+
Then I should be on the new project page for the "Test" account
|
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: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- thoughtbot, inc.
|