tasks/spec.rake in alexandria-book-collection-manager-0.7.4 vs tasks/spec.rake in alexandria-book-collection-manager-0.7.5
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
# -*- ruby -*-
#--
-# Copyright (C) 2011 Matijs van Zuijlen
+# Copyright (C) 2011-2019 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,10 +37,12 @@
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
- desc "Runs all unit and end-to-end specs"
- task "all" => ["spec:unit", "spec:end_to_end"]
+ RSpec::Core::RakeTask.new("all") do |t|
+ t.pattern = "spec/**/*_spec.rb"
+ t.ruby_opts = ["-rbundler/setup -rsimplecov -Ilib -w"]
+ end
end
-task default: "spec:all"
+task spec: "spec:all"