Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Converters::JSON specs #16

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Add Converters::JSON specs #16

merged 5 commits into from
Apr 30, 2024

Conversation

AI-Mozi
Copy link
Member

@AI-Mozi AI-Mozi commented Apr 28, 2024

#1

@AI-Mozi AI-Mozi marked this pull request as ready for review April 29, 2024 13:46
@AI-Mozi AI-Mozi requested a review from postmodern April 29, 2024 13:46
@AI-Mozi AI-Mozi self-assigned this Apr 29, 2024
describe '.xml_as_json' do
it 'must convert nmap XML to json representation' do
result = subject.xml_as_json(nmap_file)
expect(JSON.dump(result)).to eq(expected_json)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could change this is expect(subject.xml_as_json(nmap_file)).to eq(json_data).

@postmodern postmodern merged commit 66727d6 into main Apr 30, 2024
14 checks passed
@postmodern postmodern added this to the 0.1.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants