tasks/spec.rake in alexandria-book-collection-manager-0.7.5 vs tasks/spec.rake in alexandria-book-collection-manager-0.7.6

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true # -*- ruby -*- #-- -# Copyright (C) 2011-2019 Matijs van Zuijlen +# Copyright (C) 2011 Matijs van Zuijlen # # This file is part of the Alexandria build system. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -37,12 +37,10 @@ RSpec::Core::RakeTask.new("end_to_end") do |t| t.pattern = "spec/end_to_end/**/*_spec.rb" t.ruby_opts = ["-rbundler/setup -rsimplecov -Ilib -w"] end - RSpec::Core::RakeTask.new("all") do |t| - t.pattern = "spec/**/*_spec.rb" - t.ruby_opts = ["-rbundler/setup -rsimplecov -Ilib -w"] - end + desc "Runs all unit and end-to-end specs" + task "all" => ["spec:unit", "spec:end_to_end"] end task spec: "spec:all"