Skip to content

Commit

Permalink
simplify ptime_helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Jul 25, 2024
1 parent 552cf7d commit d9c02be
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions spec/support/ptime_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
module PtimeHelpers
def set_env_variables_and_stub_request
ptime_base_test_url = "www.ptime.example.com"
ptime_api_test_username = "test username"
ptime_api_test_password = "test password"
ENV["PTIME_BASE_URL"] = ptime_base_test_url
ENV["PTIME_API_USERNAME"] = ptime_api_test_username
ENV["PTIME_API_PASSWORD"] = ptime_api_test_password
ENV["PTIME_BASE_URL"] = "www.ptime.example.com"
ENV["PTIME_API_USERNAME"] = "test username"
ENV["PTIME_API_PASSWORD"] = "test password"

stub_ptime_request(ptime_employees.to_json)
end
Expand Down

0 comments on commit d9c02be

Please sign in to comment.