Skip to content

Commit

Permalink
Skipping bad test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Mar 16, 2024
1 parent 70150cb commit ad4bb2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
When(/^I make local modifications$/) do
FileUtils.rm_rf("#{@repo.onceover_temp_root_folder}/modules/apache/manifests")
end

Before('@skip_on_windows') do
skip_this_scenario if RUBY_PLATFORM =~ /mswin|mingw/
end
9 changes: 1 addition & 8 deletions features/zzz_run.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,7 @@ Feature: Run rspec and acceptance test suites
When I run onceover command "run spec"
Then I should see error with message pattern "The module acme-not_exists does not exist"

# TODO: Work out why this is fialing on windows
# Scenario: Run with local modifications
# Given initialized control repo "basic"
# When I run onceover command "run spec"
# And I make local modifications
# And I run onceover command "run spec"
# Then I should see message pattern "local modifications"

@skip_on_windows
Scenario: Force overwrite local modifications
Given initialized control repo "basic"
When I run onceover command "run spec"
Expand Down

0 comments on commit ad4bb2e

Please sign in to comment.