From 68495738a8e3c957f550ba4f8dd8786276b7700b Mon Sep 17 00:00:00 2001 From: Mihail Maxacov <0xf013@gmail.com> Date: Mon, 25 May 2015 14:46:42 +0300 Subject: [PATCH] fix the spec to match behaviour --- spec/features/work_packages/select_work_package_row_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/features/work_packages/select_work_package_row_spec.rb b/spec/features/work_packages/select_work_package_row_spec.rb index 63f9bc3f7a..d9df5c5b4d 100644 --- a/spec/features/work_packages/select_work_package_row_spec.rb +++ b/spec/features/work_packages/select_work_package_row_spec.rb @@ -281,7 +281,8 @@ describe 'Select work package row', type: :feature do describe 'specific selection' do before { select_work_package_row_with_ctrl(1) } - it_behaves_like 'work package row not selected' do + it_behaves_like 'work package row selected' do + # apparently it should be selected if there one row only let(:index) { 1 } end