Sha256: 6573271e4e52246ca80bbc0e5623085e7add5900f54eab03ad39e66634c640a7
Contents?: true
Size: 548 Bytes
Versions: 12
Compression:
Stored size: 548 Bytes
Contents
# # Enforce the alphabetical execution of specs because rspec 2+ executes them # randomly with `rspec spec` while we need them in an accurate order for coverage # reports that include the spec files. # # This is due to the fact that coverage will not include the first loaded spec/test file. # To get predictable coverage results, we need to know which one that is... # Transform "bundle exec rspec spec" do |_| files = nil # Avoid shadowing in_current_dir { files = Dir["spec/**/*_spec.rb"] } "bundle exec rspec #{files.sort.join(' ')}" end
Version data entries
12 entries across 12 versions & 5 rubygems