tasks/spec_test.rake in quickl-0.2.2 vs tasks/spec_test.rake in quickl-0.3.0
- old
+ new
@@ -28,11 +28,11 @@
begin
require "rspec/core/rake_task"
desc "Run RSpec code examples"
RSpec::Core::RakeTask.new(:spec_test) do |t|
# Glob pattern to match files.
- t.pattern = "spec/**/*_spec.rb"
+ t.pattern = "spec/**/test_*.rb"
# By default, if there is a Gemfile, the generated command will include
# 'bundle exec'. Set this to true to ignore the presence of a Gemfile,
# and not add 'bundle exec' to the command.
t.skip_bundler = false
@@ -59,10 +59,10 @@
# Command line options to pass to rcov. See 'rcov --help' about this
t.rcov_opts = []
# Command line options to pass to ruby. See 'ruby --help' about this
- t.ruby_opts = []
+ t.ruby_opts = ["-w"]
# Path to rspec
t.rspec_path = "rspec"
# Command line options to pass to rspec. See 'rspec --help' about this