Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minitest/spec libraries, deps, tasks

  • Loading branch information...
commit a4773a311b739a38bdf2d09758623a164b918fd1 1 parent c936795
@zerowidth authored
View
5 Gemfile.lock
@@ -19,6 +19,9 @@ GEM
em-http-request (~> 0.3.0)
eventmachine (~> 0.12.10)
yajl-ruby (~> 0.7.6)
+ minitest (2.2.2)
+ minitest-rg (0.4)
+ minitest
yajl-ruby (0.7.9)
PLATFORMS
@@ -26,3 +29,5 @@ PLATFORMS
DEPENDENCIES
camper_van!
+ minitest (~> 2.2.2)
+ minitest-rg (~> 0.4)
View
9 Rakefile
@@ -1 +1,10 @@
require 'bundler/gem_tasks'
+
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs = %w(lib spec)
+ t.pattern = "spec/**/*_spec.rb"
+end
+
+task :default => :test
View
3  camper_van.gemspec
@@ -20,4 +20,7 @@ Gem::Specification.new do |s|
s.add_dependency "eventmachine", "~> 0.12.10"
s.add_dependency "firering", "~> 1.1.0"
+
+ s.add_development_dependency "minitest", "~> 2.2.2"
+ s.add_development_dependency "minitest-rg", "~> 0.4"
end
View
1  lib/camper_van.rb
@@ -4,4 +4,5 @@
module CamperVan
require "camper_van/irc_proxy" # debug proxy
+ require "camper_van/server" # minimal ircd
end
View
4 lib/camper_van/server.rb
@@ -0,0 +1,4 @@
+module CamperVan
+ class Server
+ end
+end
View
7 spec/camper_van/server_spec.rb
@@ -0,0 +1,7 @@
+require "spec_helper"
+
+describe CamperVan::Server do
+ it "works" do
+ true.must_equal true
+ end
+end
View
10 spec/spec_helper.rb
@@ -0,0 +1,10 @@
+require "bundler"
+
+Bundler.setup :default, :development
+
+require "minitest/spec"
+require "minitest/mock"
+require "minitest/autorun"
+require "minitest-rg"
+
+require "camper_van"
Please sign in to comment.
Something went wrong with that request. Please try again.