Skip to content

Commit 6fecb58

Browse files
committed
update coverage
1 parent a083f72 commit 6fecb58

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

spec/spec_helper.rb

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,23 @@
33
SimpleCov.start do
44
add_filter 'spec/smoke'
55
add_filter 'spec/call_utils.rb'
6-
add_filter do |source_file|
7-
if !source_file.filename.include? 'bandwidth-sdk/models' then
8-
false
9-
else
10-
!(['/models/call_state_enum.rb',
11-
'/models/call_state.rb',
12-
'/models/tfv_error.rb',
13-
'/models/message.rb',
14-
'/models/verify_code_request.rb',
15-
'/models/verify_code_response.rb'
16-
].any? { |name| source_file.filename.include?(name) })
17-
end
18-
end
196
add_group 'Models', 'lib/bandwidth-sdk/models/'
207
add_group 'APIs', 'lib/bandwidth-sdk/api/'
21-
add_group 'Client', ['api_client.rb', 'api_error.rb', 'configuration.rb', 'version.rb', 'bandwidth-sdk.rb']
8+
add_group 'Client', [
9+
'lib/bandwidth-sdk/api_client.rb',
10+
'lib/bandwidth-sdk/api_error.rb',
11+
'lib/bandwidth-sdk/api_model_base.rb',
12+
'lib/bandwidth-sdk/configuration.rb',
13+
'lib/bandwidth-sdk/version.rb',
14+
'lib/bandwidth-sdk.rb'
15+
]
2216
add_group 'Tests', 'spec'
2317
end
2418

2519
# load the gem
2620
require 'bandwidth-sdk'
2721

28-
# load call utils every time. This prevents an error from occuring when running only unit tests
22+
# load call utils every time. This prevents an error from occurring when running only unit tests
2923
require_relative './call_utils'
3024

3125
# The following was generated by the `rspec --init` command. Conventionally, all

0 commit comments

Comments
 (0)