move some files into spec/support and include ModelHelpers in config

This commit is contained in:
Adam Meehan
2011-01-28 19:36:02 +11:00
parent bbb752e4e3
commit 983e80f239
9 changed files with 4 additions and 13 deletions

View File

@@ -1,8 +1,6 @@
require 'spec_helper'
describe ValidatesTimeliness::Validator, ":is_at option" do
include ModelHelpers
before do
Timecop.freeze(Time.local_time(2010, 1, 1, 0, 0, 0))
end