File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ def validate
20
20
21
21
private
22
22
23
- def validate_server_connection
24
- return unless valid?
25
- end
23
+ def validate_server_connection ; end
26
24
27
25
# rubocop:disable Metrics/AbcSize
28
26
def validate_attributes
Original file line number Diff line number Diff line change 2
2
3
3
module OhlohScm
4
4
module Version
5
- STRING = '3.0.1 '
5
+ STRING = '3.0.2 '
6
6
GIT = '2.17.1'
7
7
SVN = '1.9.7'
8
8
CVSNT = '2.5.04'
Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
3
describe 'Git::Validation' do
4
- it 'must handle non existent remote source' do
5
- core = OhlohScm ::Factory . get_core ( scm_type : :git , url : 'https://github.com/Person/foobar' )
6
- core . validate
7
- core . errors . wont_be :empty?
8
- end
9
-
10
4
it 'wont have errors for valid url' do
11
5
core = OhlohScm ::Factory . get_core ( scm_type : :git , url : 'https://github.com/ruby/ruby' )
12
6
core . validation . send ( :validate_attributes )
You can’t perform that action at this time.
0 commit comments