1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2026-02-10 09:31:33 +00:00

Fix specs

This commit is contained in:
Yusuf Yilmaz
2023-01-12 12:25:54 +01:00
parent 651236400e
commit b276682bdb
2 changed files with 8 additions and 6 deletions

View File

@@ -165,13 +165,15 @@ describe Haste::Uploader do
describe :server_url do
let(:server_url) { uploader.server_url }
let(:share_server_url) { uploader.share_server_url }
context 'with default constructor' do
let(:base) { nil }
it 'should use the default url' do
expect(server_url).to eq(Haste::DEFAULT_URL)
it 'should use the default urls' do
expect(server_url).to eq(Haste::DEFAULT_SERVER_URL)
expect(share_server_url).to eq(Haste::DEFAULT_SHARE_SERVER_URL)
end
end