Skip to content

Commit

Permalink
Fixed script to generate rspec documentation using File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Jul 5, 2024
1 parent 4b4abe1 commit f83c7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/markdown_spec_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def dump_summary(notification)
attr_reader :output, :indent

def documenting_rest_only?
File.exists?(File.expand_path('../../../../../../ably-rest.gemspec', __FILE__))
File.exist?(File.expand_path('../../../../../../ably-rest.gemspec', __FILE__))
end

def example_name_and_link(notification)
Expand Down

0 comments on commit f83c7c8

Please sign in to comment.