diff --git a/features/step_definitions/features_steps.rb b/features/step_definitions/features_steps.rb index e54b3f03..9316f621 100644 --- a/features/step_definitions/features_steps.rb +++ b/features/step_definitions/features_steps.rb @@ -150,7 +150,8 @@ end When /^click the features path$/ do - click_link 'Original file' + save_and_open_page + click_link @feature.path end Then /^the feature files contents should be viewable$/ do