This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matt Lyon
committed
Oct 30, 2008
1 parent
71f1807
commit 6cf7c4f
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
require "rake" | ||
Dir['tasks/**/*.rake'].each { |rake| load rake } | ||
|
||
desc "Run the specs." | ||
task :default => :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require 'rubygems' | ||
|
||
gem 'rspec' | ||
require 'spec' | ||
|
||
gem 'ruby-debug' | ||
require 'ruby-debug' | ||
|
||
require "#{File.dirname(__FILE__)}/../lib/ouroubourus" | ||
|
||
Debugger.start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
begin | ||
require 'spec' | ||
rescue LoadError | ||
require 'rubygems' | ||
require 'spec' | ||
end | ||
begin | ||
require 'spec/rake/spectask' | ||
rescue LoadError | ||
puts <<-EOS | ||
To use rspec for testing you must install rspec gem: | ||
gem install rspec | ||
EOS | ||
exit(0) | ||
end | ||
|
||
desc "Run the specs in spec/" | ||
Spec::Rake::SpecTask.new do |t| | ||
t.spec_files = FileList['spec/*_spec.rb'] | ||
end |