Skip to content

Commit

Permalink
Merge pull request #12319 from koic/add_a_project_spec
Browse files Browse the repository at this point in the history
Add a project spec
  • Loading branch information
koic committed Oct 30, 2023
2 parents fe802d9 + afab18c commit f981a1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ def expected

dir = File.expand_path('../changelog', __dir__)

it 'will not have a directory' do
expect(Dir["#{dir}/*"].none? { |path| File.directory?(path) }).to be(true)
end

Dir["#{dir}/*.md"].each do |path|
context "For #{path}" do
let(:path) { path }
Expand Down

0 comments on commit f981a1a

Please sign in to comment.