We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af3def7 commit a2d0349Copy full SHA for a2d0349
spec/helpers/person_helper_spec.rb
@@ -4,7 +4,7 @@
4
describe '#fetch_ptime_or_skills_data' do
5
6
it 'should send request to ptime api' do
7
- allow(helper).to receive(:ptime_available?).and_return(true)
+ allow(Skills).to receive(:ptime_available?).and_return(true)
8
skills_people = helper.fetch_ptime_or_skills_data
9
expected = [
10
["Longmax Smith", "/people/new?ptime_employee_id=33"],
@@ -15,7 +15,7 @@
15
end
16
17
it 'should return people from skills database if last request was right now' do
18
- allow(helper).to receive(:ptime_available?).and_return(false)
+ allow(Skills).to receive(:ptime_available?).and_return(false)
19
20
21
0 commit comments