|
3 | 3 | SimpleCov.start do |
4 | 4 | add_filter 'spec/smoke' |
5 | 5 | 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 |
19 | 6 | add_group 'Models', 'lib/bandwidth-sdk/models/' |
20 | 7 | 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 | + ] |
22 | 16 | add_group 'Tests', 'spec' |
23 | 17 | end |
24 | 18 |
|
25 | 19 | # load the gem |
26 | 20 | require 'bandwidth-sdk' |
27 | 21 |
|
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 |
29 | 23 | require_relative './call_utils' |
30 | 24 |
|
31 | 25 | # The following was generated by the `rspec --init` command. Conventionally, all |
|
0 commit comments