From a9ace7bf0553457a10c606a5061524e9fb708325 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Wed, 10 Jan 2018 12:19:48 +0100 Subject: Expect QA selectors validation at least once We call it for a second time in EE. --- qa/spec/scenario/test/sanity/selectors_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/spec/scenario/test/sanity/selectors_spec.rb b/qa/spec/scenario/test/sanity/selectors_spec.rb index a64a60fa119..45d21d54955 100644 --- a/qa/spec/scenario/test/sanity/selectors_spec.rb +++ b/qa/spec/scenario/test/sanity/selectors_spec.rb @@ -34,7 +34,7 @@ describe QA::Scenario::Test::Sanity::Selectors do it 'triggers validation' do described_class.perform - expect(validator).to have_received(:validate!) + expect(validator).to have_received(:validate!).at_least(:once) end end end -- cgit v1.2.1