Skip to content

Commit

Permalink
Reverse test from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Jul 19, 2024
1 parent 2e2ae6b commit 766e942
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/domain/ptime/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,4 @@
fetched_employees = Ptime::Client.new.request(:get, "employees")
expect(fetched_employees).to eq(JSON.parse(return_ptime_employees_json))
end

it 'should fallback to skills if last request was right now' do
ENV['LAST_PTIME_API_REQUEST'] = DateTime.current.to_s

skills_people = Ptime::Client.new.request(:get, "employees")

expect(ENV['PTIME_API_ACCESSIBLE']).to eq('false')
end
end

0 comments on commit 766e942

Please sign in to comment.