Skip to content

Commit

Permalink
better labels and naming issue #179
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitsinghal committed Oct 10, 2015
1 parent 4045b78 commit 435fbeb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/app/views/create-manual-order.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>New Stock Order</h2>
ng-if="orderController.uploader.queue.length===0"
class="btn btn-primary button-large-green generate-order-btn"
ng-click="!orderForm.$invalid && orderController.generateOrder()">
Generate New Order
Generate Order From Inventory
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/app/views/store-landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cg-busy="{promise:waitOnPromise,message:message}">
<shoppin-pal-header is-home-page="true"
store-name="{{::storeName}}"
button1-label="Create manual order"
button1-label="New Stock Order"
button1-class="button-large-green"
on-button1-click="createManualOrder()">
</shoppin-pal-header>
Expand Down
2 changes: 1 addition & 1 deletion client/app/views/warehouse-landing.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container"
cg-busy="{promise:waitOnPromise,message:message}">
<shoppin-pal-header is-home-page="true"
button1-label="Create manual order"
button1-label="New Stock Order"
button1-class="button-large-green"
on-button1-click="createManualOrder()">
</shoppin-pal-header>
Expand Down
2 changes: 1 addition & 1 deletion spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('In Warehouse', function() {
it('managers should be able to kick-off a job to generate a stock order on demand', function() {
expect(browser.getLocationAbsUrl()).toBe('/store-landing');

element(by.buttonText('Create manual order')).click();
element(by.buttonText('New Stock Order')).click();
expect(browser.getLocationAbsUrl()).toBe('/create-manual-order');

var name = 'ordered on - ' + Date.now();
Expand Down

0 comments on commit 435fbeb

Please sign in to comment.