Fix model specs to work with MySQL

This commit is contained in:
Hernan Schmidt 2016-08-17 18:49:00 +02:00 committed by Hernán Schmidt
parent baa5894c38
commit a6d4d51b03
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ describe Campaign do
campaign.conference = build(:conference)
create(:visit, utm_source: 'google+', utm_medium: 'advertisement',
utm_term: 'opensource', utm_content: 'content', utm_campaign: '20percent', started_at: Time.now)
utm_term: 'opensource', utm_content: 'content', utm_campaign: '20percent', started_at: Time.now + 1.hour)
expect(campaign.visits_count).to eq(1)
end