Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Marlon Pina Tojal <[email protected]>
  • Loading branch information
Marlon Pina Tojal committed Dec 19, 2023
1 parent 0ccece4 commit 40f789d
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions spec/cyclonedx/cocoapods/bom_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,27 +253,26 @@
end
end


RSpec.describe CycloneDX::CocoaPods::BOMBuilder do
context 'when generating a BOM' do
let(:pods) {
{
'Alamofire' => '5.6.2',
'FirebaseAnalytics' => '7.10.0',
'RxSwift' => '5.1.2',
'Realm' => '5.5.1',
'MSAL' => '1.2.1',
'MSAL/app-lib' => '1.2.1'
}.map { |name, version| CycloneDX::CocoaPods::Pod.new(name: name, version: version) }
}
let(:pods) do
{
'Alamofire' => '5.6.2',
'FirebaseAnalytics' => '7.10.0',
'RxSwift' => '5.1.2',
'Realm' => '5.5.1',
'MSAL' => '1.2.1',
'MSAL/app-lib' => '1.2.1'
}.map { |name, version| CycloneDX::CocoaPods::Pod.new(name: name, version: version) }
end
let(:dependencies) do
{
'pkg:cocoapods/[email protected]' => [],
'pkg:cocoapods/[email protected]' => ['pkg:cocoapods/[email protected]#app-lib'],
'pkg:cocoapods/[email protected]#app-lib' => [],
'pkg:cocoapods/[email protected]#app-lib' => [],
'pkg:cocoapods/[email protected]#app-lib' => []
}
{
'pkg:cocoapods/[email protected]' => [],
'pkg:cocoapods/[email protected]' => ['pkg:cocoapods/[email protected]#app-lib'],
'pkg:cocoapods/[email protected]#app-lib' => [],
'pkg:cocoapods/[email protected]#app-lib' => [],
'pkg:cocoapods/[email protected]#app-lib' => []
}
end

shared_examples "bom_generator" do
Expand Down

0 comments on commit 40f789d

Please sign in to comment.