Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kevindjacobson/4e33e39addc19f15d74989e90ad9ca7b to your computer and use it in GitHub Desktop.

Select an option

Save kevindjacobson/4e33e39addc19f15d74989e90ad9ca7b to your computer and use it in GitHub Desktop.
diff --git a/spec/lib/candidates/new/talent_advocate_finder_spec.rb b/spec/lib/candidates/new/talent_advocate_finder_spec.rb
index fa967fc750..61b5077fb6 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('15-04-2018 07:00:01')
+ 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