diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2016-04-21 13:26:30 -0400 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2016-04-25 12:04:09 -0400 |
commit | 2034305917a76d4c203e457a9ebf61d28819ccbd (patch) | |
tree | d43562f4902ab0db80b4178ffefbdff825f4d66f /acceptance | |
parent | d5039e38977b9da431fcb52670576561d772aa27 (diff) | |
download | chef-2034305917a76d4c203e457a9ebf61d28819ccbd.tar.gz |
Too much log output and unnecessary warnings! Suppress that shit.
Diffstat (limited to 'acceptance')
-rw-r--r-- | acceptance/fips/test/integration/fips/serverspec/fips_spec.rb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb b/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb index 29b322ac05..9bf0db1cd9 100644 --- a/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb +++ b/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb @@ -35,13 +35,25 @@ describe "Chef Fips Specs" do cmd.stdout.chomp end - it "passes the unit and functional specs" do + def run_rspec_test(test) Bundler.with_clean_env do cmd = Mixlib::ShellOut.new( - "bundle exec rspec -t ~requires_git spec/unit spec/functional spec/integration", - env: env, live_stream: STDOUT, cwd: chef_dir, timeout: 3600 + "bundle exec rspec -f documentation -t ~requires_git #{test}", + env: env, cwd: chef_dir, timeout: 3600 ) cmd.run_command.error! end end + + it "passes the unit specs" do + run_rspec_test("spec/unit") + end + + it "passes the functional specs" do + run_rspec_test("spec/functional") + end + + it "passes the integration specs" do + run_rspec_test("spec/integration") + end end |