Skip to content

Commit 331d7ad

Browse files
committed
Update a test
1 parent b460b5b commit 331d7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/endpoint_url_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
end
2727

2828
it 'logs error and returns nil' do
29-
expect(Rails.logger).to receive(:error).with(/Failed to read GEOSERVER_URL_FILE/)
29+
expect(Rails.logger).to receive(:error).with("[EndpointUrl] Failed to read test_server's URL from secrets file.No such file or directory @ rb_sysopen - nonexistent_file.txt")
3030
result = EndpointUrl.geoserver('test_server')
3131
expect(result).to be_nil
3232
end

0 commit comments

Comments
 (0)