diff options
| author | jpl | 2017-06-06 15:59:39 +0200 |
|---|---|---|
| committer | jpl | 2017-06-06 15:59:39 +0200 |
| commit | 280cc337c7d2eb3d5e7457d0399e4f0ee5cdb2aa (patch) | |
| tree | ff76211b493de1c1c8a350447485e69f2d535e9d /spec/features | |
| parent | 6e6a2158f88e0a4e8973cb8e098e92b444aecf77 (diff) | |
| download | chouette-core-280cc337c7d2eb3d5e7457d0399e4f0ee5cdb2aa.tar.bz2 | |
Refs #3488: updating itl#show
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/routing_constraint_zones_spec.rb | 4 |
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 |
