Fix i18n key and spec

This commit is contained in:
Maikel Linke
2017-07-19 15:58:55 +10:00
parent 9f243e6d3c
commit b8c2e54194
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
%td {{ enterprise_role.user_email }}
%td= t('admin.enterprise_roles.manages')
%td= t('.manages')
%td {{ enterprise_role.enterprise_name }}
%td.actions
%a.delete-enterprise-role.icon-trash.no-text{'ng-click' => 'delete(enterprise_role)'}

View File

@@ -312,8 +312,6 @@ en:
tax_category: Tax Category
calculator: Calculator
calculator_values: Calculator Values
enterprise_roles:
manages: manages
enterprise_groups:
index:
@@ -322,6 +320,8 @@ en:
enterprise_roles:
form:
manages: manages
enterprise_role:
manages: manages
products:
unit_name_placeholder: 'eg. bunches'

View File

@@ -127,7 +127,7 @@ feature %q{
page.should_not have_select2 'order_order_cycle_id'
page.should have_selector 'p', text: "Distributor: #{@order.distributor.name}"
page.should have_selector 'p', text: "Order Cycle: None"
page.should have_selector 'p', text: "Order cycle: None"
end
scenario "filling customer details" do