Sha256: bb1db48a91b4a96a64a02d15ff6ca00fffadf46f8f4366d857d11cff485814e4
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
require "spec_helper" describe Codacy::ClientAPI do describe 'create url' do it 'checks if the url is correct.' do codacy_base_api = 'https://api.codacy.com' expected_commit_uuid = "9a7d25976a11f2a145f8fee7c4e4ad58b621d560" expected_url = Codacy::ClientAPI.create_url(codacy_base_api, expected_commit_uuid) wrong_commit_uuid = "'9a7d25976a11f2a145f8fee7c4e4ad58b621d560'" fixed_url = Codacy::ClientAPI.create_url(codacy_base_api, wrong_commit_uuid) expect(fixed_url).to eq expected_url end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
codacy-coverage-2.1.0 | spec/codacy/client_spec.rb |
codacy-coverage-2.0.1 | spec/codacy/client_spec.rb |
codacy-coverage-2.0.0 | spec/codacy/client_spec.rb |