Sha256: b01ea10aedeb0a26f8ee75fa8bb1a40a79cd78ef78c639d1e49b271bf5ac8925

Contents?: true

Size: 452 Bytes

Versions: 5

Compression:

Stored size: 452 Bytes

Contents

require 'diff-lcs'

Around "@skip-when-diff-lcs-1.4" do |scenario, block|
  if Diff::LCS::VERSION >= '1.4'
    skip_this_scenario "Skipping scenario #{scenario.name} on `diff-lcs` v#{Diff::LCS::VERSION}"
  else
    block.call
  end
end

Around "@skip-when-diff-lcs-1.3" do |scenario, block|
  if Diff::LCS::VERSION < '1.4'
    skip_this_scenario "Skipping scenario #{scenario.name} on `diff-lcs` v#{Diff::LCS::VERSION}"
  else
    block.call
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-core/upstream/features/support/diff_lcs_versions.rb
opal-rspec-1.1.0.alpha2 rspec-core/upstream/features/support/diff_lcs_versions.rb
opal-rspec-1.1.0.alpha1 rspec-core/upstream/features/support/diff_lcs_versions.rb
opal-rspec-1.0.0 rspec-core/upstream/features/support/diff_lcs_versions.rb
opal-rspec-1.0.0.alpha1 rspec-core/upstream/features/support/diff_lcs_versions.rb