Sha256: a094e46612e468392188977701acecef488d904f5fa6698353d78e163c9c63c0
Contents?: true
Size: 554 Bytes
Versions: 36
Compression:
Stored size: 554 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_directory { files = Dir["spec/**/*_spec.rb"] } "bundle exec rspec #{files.sort.join(' ')}" end
Version data entries
36 entries across 36 versions & 10 rubygems