Rakefile in caramelize-0.2.0 vs Rakefile in caramelize-0.3.0
- old
+ new
@@ -1,9 +1,18 @@
-require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
+require 'bundler/gem_tasks'
+
+# Default directory to look in is `/specs`
+# Run with `rake spec`
+RSpec::Core::RakeTask.new(:spec) do |task|
+ task.rspec_opts = ['--color', '--format', 'nested']
+end
+
+task :default => :spec
\ No newline at end of file