Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Start a branch for aggregate package.json payments
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Aug 14, 2017
1 parent c279b33 commit a56a8fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/py/test_www_npm_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ def setUp(self):

def test_anon_gets_payment_flow(self):
body = self.client.GET('/on/npm/').body
assert 'Paste a package.json' in body
assert 'Paste your own package.json' in body
assert '0 out of all 1 npm package' in body
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Tests(BrowserHarness):

def assertDiscovery(self):
instructions = self.css('.instructions').text
assert instructions == 'Paste a package.json to find packages to pay for:'
assert instructions == 'Paste your own package.json:'

def test_anon_gets_discovery_page_by_default(self):
self.visit('/on/npm/')
Expand Down
2 changes: 1 addition & 1 deletion www/on/npm/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ if request.method == 'POST':
<form action="./" method="POST" class="package-json">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<p class="instructions">
{{ _('Paste a package.json to find packages to pay for:') }}
{{ _('Paste your own package.json:') }}
</p>

<textarea name="package.json"{% if not discovered %} autofocus{% endif %} wrap="off"
Expand Down

0 comments on commit a56a8fe

Please sign in to comment.