From 45527bf92122eca792e456357207d3a33198afce Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Tue, 11 Jun 2013 15:07:01 -0400 Subject: [PATCH] Reword acceptance test. --- cms/djangoapps/contentstore/features/video.feature | 4 ++-- cms/djangoapps/contentstore/features/video.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cms/djangoapps/contentstore/features/video.feature b/cms/djangoapps/contentstore/features/video.feature index ca6e4716a9..0129732d30 100644 --- a/cms/djangoapps/contentstore/features/video.feature +++ b/cms/djangoapps/contentstore/features/video.feature @@ -11,5 +11,5 @@ Feature: Video Component Scenario: Captions are shown correctly Given I have created a Video component - And I have set 'show captions' to false - Then when I view the video it does not show the captions by default + And I have hidden captions + Then when I view the video it does not show the captions diff --git a/cms/djangoapps/contentstore/features/video.py b/cms/djangoapps/contentstore/features/video.py index 9760ee00ea..fd8624999e 100644 --- a/cms/djangoapps/contentstore/features/video.py +++ b/cms/djangoapps/contentstore/features/video.py @@ -18,11 +18,11 @@ def video_takes_a_single_click(step): assert(world.is_css_present('.xmodule_VideoModule')) -@step("I have set 'show captions' to false") +@step('I have hidden captions') def set_show_captions_false(step): world.css_click('a.hide-subtitles') -@step('when I view the video it does not show the captions by default') +@step('when I view the video it does not show the captions') def does_not_show_captions(step): assert world.css_find('.video')[0].has_class('closed')