Rakefile in nicoapi-0.0.1 vs Rakefile in nicoapi-0.0.4.1
- old
+ new
@@ -1,10 +1,20 @@
require "bundler/gem_tasks"
+
+task :default => [:spec]
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = 'spec/**/*_spec.rb'
+ spec.rspec_opts = ['-cfs']
+ end
+rescue LoadError => e
+end