Sha256: 3b1fcca42826630ade3512f71a727c8bf7577ea498b5d080ce11999389efef26
Contents?: true
Size: 548 Bytes
Versions: 85
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 |t| files = nil # Avoid shadowing in_current_dir { files = Dir['spec/**/*_spec.rb'] } "bundle exec rspec #{files.sort.join(' ')}" end
Version data entries
85 entries across 64 versions & 9 rubygems