aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorXinhui2017-06-28 15:28:35 +0200
committerXinhui2017-06-28 15:28:41 +0200
commitd704f6433672dbdddc1bdad9ed9bb48a61aaa00b (patch)
tree7b8bf12195634f6ad6a70b723f9c34e9d5316ed5 /spec/factories
parentf64246b8272a35731b3edba243b8d8e1898df1de (diff)
downloadchouette-core-d704f6433672dbdddc1bdad9ed9bb48a61aaa00b.tar.bz2
Fix cleanup should only destroy vj without any time_table
Refs #3917
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/clean_ups.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/clean_ups.rb b/spec/factories/clean_ups.rb
index d3746c3b2..7107769ff 100644
--- a/spec/factories/clean_ups.rb
+++ b/spec/factories/clean_ups.rb
@@ -2,5 +2,6 @@ FactoryGirl.define do
factory :clean_up do
begin_date { Date.today}
end_date { Date.today + 1.month }
+ date_type { :before }
end
end