Skip to content

Commit

Permalink
fix the test:plugins execution
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsurprenant committed Oct 12, 2017
1 parent 557f792 commit d9f7789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rakelib/test.rake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace "test" do
end

desc "run all installed plugins specs"
task "plugins" do
task "plugins" => "bootstrap" do
plugins_to_exclude = ENV.fetch("EXCLUDE_PLUGIN", "").split(",")
# grab all spec files using the live plugins gem specs. this allows correctly also running the specs
# of a local plugin dir added using the Gemfile :path option. before this, any local plugin spec would
Expand All @@ -55,7 +55,7 @@ namespace "test" do
end.flatten.compact

# "--format=documentation"
exit(RSpec::Core::Runner.run(["--order", "rand", test_files]))
exit 1 unless system(*(["bin/rspec", "-fd", "--order", "rand"].concat(test_files)))
end

desc "install core plugins and dev dependencies"
Expand Down

0 comments on commit d9f7789

Please sign in to comment.