From aaaf6f393b3b6c20e462658c0d96992b52cd7f09 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 28 Jan 2020 12:00:34 +0100 Subject: [PATCH] specs: add an actual test case to the Exercice spec This fixes the "No timing found for 'spec/models/exercice_spec.rb'" warning message during specs. --- spec/models/exercice_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/models/exercice_spec.rb b/spec/models/exercice_spec.rb index cf64c6cfc..9a906ed7a 100644 --- a/spec/models/exercice_spec.rb +++ b/spec/models/exercice_spec.rb @@ -1,4 +1,7 @@ require 'spec_helper' describe Exercice do + describe 'validations' do + it { is_expected.to validate_presence_of(:ca) } + end end