Skip to content

Commit

Permalink
[#322] Modify template spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mosharaf13 committed Jul 10, 2023
1 parent 9773ad4 commit d9fa85d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .template/spec/addons/base/github/template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

# TODO: Can't test this as it is now ignored by `.dockerignore`
xit 'modifies the README.md' do
expect(file('README.md')).to contain('## Documentation')

expect(file('README.md')).not_to contain('## Getting Started')
expect(file('README.md')).not_to contain('## Get Started')
expect(file('README.md')).not_to contain('## Testing')
expect(file('README.md')).not_to contain('## CI/CD')
end
Expand Down Expand Up @@ -67,12 +65,6 @@
it 'exists' do
expect(file('.github/wiki/Testing.md')).to exist
end

it 'contains the correct content extracted from README.md' do
expect(file('.github/wiki/Testing.md')).to contain('### Docker-based tests on the CI server')
expect(file('.github/wiki/Testing.md')).to contain('### Test')
expect(file('.github/wiki/Testing.md')).to contain('### Automated Code Review Setup')
end
end

describe '.github/wiki/Contribution-Guide.md' do
Expand Down

0 comments on commit d9fa85d

Please sign in to comment.