Skip to content
Browse files

prepare for specs

  • Loading branch information...
1 parent 1e897ad commit 3ddbfba8fc5551ea14594e93bb8e31a376c98f6d @amatsuda amatsuda committed
Showing with 13 additions and 1 deletion.
  1. +1 −0 .rspec
  2. +12 −1 Rakefile
View
1 .rspec
@@ -0,0 +1 @@
+--color
View
13 Rakefile
@@ -1 +1,12 @@
-require "bundler/gem_tasks"
+# encoding: utf-8
+
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
+require 'rspec/core'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
+end
+
+task :default => :spec

0 comments on commit 3ddbfba

Please sign in to comment.
Something went wrong with that request. Please try again.