From 02f84d1d26983ea1bb9af5b6774b44c6cfc907c0 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Thu, 9 Jun 2016 15:23:02 +0200 Subject: [PATCH] use core helper to check for story points in spec --- spec/features/work_packages/story_points_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/work_packages/story_points_spec.rb b/spec/features/work_packages/story_points_spec.rb index 8789ea0571..28ee5839d7 100644 --- a/spec/features/work_packages/story_points_spec.rb +++ b/spec/features/work_packages/story_points_spec.rb @@ -67,7 +67,7 @@ describe 'Work packages having story points', type: :feature, js: true do wp_page.visit! - expect(page).to have_selector('#work-package-storyPoints', text: story_points) + wp_page.expect_attributes :storyPoints => story_points wp_page.ensure_page_loaded end