Created
April 16, 2018 22:25
-
-
Save kevindjacobson/b87beb4b742166e7613f5c7b049743e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/lib/candidates/new/talent_advocate_finder_spec.rb b/spec/lib/candidates/new/talent_advocate_finder_spec.rb | |
index fa967fc750..b90ed0f874 100644 | |
--- a/spec/lib/candidates/new/talent_advocate_finder_spec.rb | |
+++ b/spec/lib/candidates/new/talent_advocate_finder_spec.rb | |
@@ -11,6 +11,14 @@ describe Candidates::New::TalentAdvocateFinder do | |
) | |
end | |
+ before do | |
+ Timecop.freeze(DateTime.parse('15-04-2018').utc + 1.second) | |
+ end | |
+ | |
+ after do | |
+ Timecop.return | |
+ end | |
+ | |
describe '#talent_advocate_in_candidate_market' do | |
it 'selects a random TA from the markets' do | |
nyc_talent_advocate = admin_users(:nyc_ta) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment