saucy 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,3 +5,18 @@
5
5
  <% end %>
6
6
  <% end %>
7
7
  </ol>
8
+
9
+ <ul class="terms">
10
+ <li>
11
+ <h3>Monthly Plans</h3>
12
+ <p>All paid plans work on a monthly billing cycle, and the prices shown on this page reflect the monthly costs of using the service.</p>
13
+ </li>
14
+ <li>
15
+ <h3>Upgrade or Downgrade Anytime</h3>
16
+ <p>Once you signup you can upgrade, downgrade, or cancel your account at any time. The new charge will take effect on your next billing. If you cancel your account, we'll never bill you again. We don't pro-rate partial months, and we cannot issue refunds for partial or previous months.</p>
17
+ </li>
18
+ <li>
19
+ <h3>Questions?</h3>
20
+ <p>Have questions about plans or billing? <%= link_to "Get in touch", "http://help.#{request.domain}" %>!</p>
21
+ </li>
22
+ </ul>
@@ -6,6 +6,12 @@ Feature: Sign up
6
6
  Background:
7
7
  Given a plan exists with a name of "Free"
8
8
 
9
+ Scenario: User sees signup terms
10
+ When I go to the plans index
11
+ Then I should see "Free"
12
+ And I should see "Upgrade or Downgrade Anytime"
13
+ And I there should be a link to the help site
14
+
9
15
  Scenario: User signs up with invalid data
10
16
  When I go to the sign up page for the "Free" plan
11
17
  Then I should see "Free"
@@ -23,3 +23,7 @@ Then /^the "([^"]*)" field(?: within "([^"]*)")? should be empty$/ do |field, se
23
23
  end
24
24
  end
25
25
  end
26
+
27
+ Then /^I there should be a link to the help site$/ do
28
+ page.should have_css("a[href*='help.example.com']")
29
+ 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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-01-09 00:00:00 -05:00
20
+ date: 2011-01-10 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency