XML export fix tests. Add not nil room for scheduled events.

This commit is contained in:
Stella Rouzi 2016-06-20 21:05:08 +03:00
parent b1b8703753
commit 15076b11f1
2 changed files with 4 additions and 2 deletions

View file

@ -27,7 +27,7 @@ class Program < ActiveRecord::Base
end
def scheduled
where.not(start_time: nil)
where.not(start_time: nil).where.not(room: nil)
end
def highlights