diff --git a/features/step_definitions/aspects_steps.rb b/features/step_definitions/aspects_steps.rb index 2d13f6abe0438e74394dbd9d8fca90ae6012578c..5a9a3527fabfd01bff23a8e5c096a773eb32d32c 100644 --- a/features/step_definitions/aspects_steps.rb +++ b/features/step_definitions/aspects_steps.rb @@ -11,6 +11,7 @@ When /^I select only "([^"]*)" aspect$/ do |aspect_name| within('#aspects_list') do click_link 'Select all' if has_link? 'Select all' click_link 'Deselect all' + current_scope.should have_no_css '.selected' end step %Q(I select "#{aspect_name}" aspect as well) end