From 85b5ba4c6d5f2439871bd7dd106a80e2edc97a87 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sun, 5 Apr 2015 12:25:12 +0000 Subject: [PATCH] Stop excluding sshd related features on CI --- Rakefile | 4 ++-- features/tests/env.feature | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index dc7b216..fc35097 100644 --- a/Rakefile +++ b/Rakefile @@ -6,8 +6,8 @@ task default: %i[features spec] Cucumber::Rake::Task.new(:features) Cucumber::Rake::Task.new(:features_no_sshd) do |t| - t.instance_eval { @desc << ' excluding @sshd'} - t.cucumber_opts = '--tags ~@sshd' + t.instance_eval { @desc << ' excluding @ci_skip' } + t.cucumber_opts = '--tags ~@ci_skip' end RSpec::Core::RakeTask.new(:spec) diff --git a/features/tests/env.feature b/features/tests/env.feature index 5d9ca54..9732feb 100644 --- a/features/tests/env.feature +++ b/features/tests/env.feature @@ -37,6 +37,7 @@ Feature: `env?' condition keyword When I successfully execute the recipe on remote target Then the output must not contain "definition_ko" + @ci_skip Scenario: succeeds when remote environment variable value match When I successfully execute the recipe on remote target Then the output must contain "value_ok"