aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
diff options
context:
space:
mode:
authorjpl2017-06-06 15:59:39 +0200
committerjpl2017-06-06 15:59:39 +0200
commit280cc337c7d2eb3d5e7457d0399e4f0ee5cdb2aa (patch)
treeff76211b493de1c1c8a350447485e69f2d535e9d /spec/features
parent6e6a2158f88e0a4e8973cb8e098e92b444aecf77 (diff)
downloadchouette-core-280cc337c7d2eb3d5e7457d0399e4f0ee5cdb2aa.tar.bz2
Refs #3488: updating itl#show
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/routing_constraint_zones_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/routing_constraint_zones_spec.rb b/spec/features/routing_constraint_zones_spec.rb
index 9e8c7dad4..b116b38bd 100644
--- a/spec/features/routing_constraint_zones_spec.rb
+++ b/spec/features/routing_constraint_zones_spec.rb
@@ -20,7 +20,7 @@ describe 'RoutingConstraintZones', type: :feature do
context 'user has permission to create routing_constraint_zones' do
it 'shows a create link for routing_constraint_zones' do
- expect(page).to have_content(I18n.t('routing_constraint_zones.actions.new'))
+ expect(page).to have_content(I18n.t('actions.new'))
end
end
@@ -28,7 +28,7 @@ describe 'RoutingConstraintZones', type: :feature do
it 'does not show a create link for routing_constraint_zones' do
@user.update_attribute(:permissions, [])
visit referential_line_routing_constraint_zones_path(referential, line)
- expect(page).not_to have_content(I18n.t('routing_constraint_zones.actions.new'))
+ expect(page).not_to have_content(I18n.t('actions.new'))
end
end