From d603de17688d833d8c9416b27cbb083d48a08d3f Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 14 Mar 2018 17:02:52 +0000 Subject: add check for ace editor on create route --- spec/features/ci_lint_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/ci_lint_spec.rb b/spec/features/ci_lint_spec.rb index b1dceec9da8..220b934154e 100644 --- a/spec/features/ci_lint_spec.rb +++ b/spec/features/ci_lint_spec.rb @@ -39,6 +39,7 @@ describe 'CI Lint', :js do it 'displays information about an error' do expect(page).to have_content('Status: syntax is incorrect') + expect(page).to have_selector('.ace_content', text: yaml_content) end end -- cgit v1.2.1