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

Version Path
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.7 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.6 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.5 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.4 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.2 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
tdiary-5.0.1 vendor/bundle/gems/simplecov-0.9.2/features/step_definitions/transformers.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/simplecov-0.9.0/features/step_definitions/transformers.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/simplecov-0.9.0/features/step_definitions/transformers.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/simplecov-0.9.0/features/step_definitions/transformers.rb
simplecov-0.9.2 features/step_definitions/transformers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/simplecov-0.8.2/features/step_definitions/transformers.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/simplecov-0.8.2/features/step_definitions/transformers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/simplecov-0.8.2/features/step_definitions/transformers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/simplecov-0.8.2/features/step_definitions/transformers.rb
simplecov-0.9.1 features/step_definitions/transformers.rb
simplecov-0.9.0 features/step_definitions/transformers.rb
simplecov-0.8.2 features/step_definitions/transformers.rb
simplecov-0.8.1 features/step_definitions/transformers.rb