Permalink
Browse files

add basic specs

  • Loading branch information...
1 parent 7bbfc11 commit 961337155873cd58c14aa03671618e16ae18075b @smcpherson smcpherson committed Sep 11, 2012
Showing with 16 additions and 0 deletions.
  1. +8 −0 Rakefile
  2. +1 −0 spec/spec_helper.rb
  3. +7 −0 spec/tzip_spec.rb
View
8 Rakefile
@@ -0,0 +1,8 @@
+desc 'Run all the tests'
+task :default => :spec
+
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new do |t|
+ t.rspec_opts = ['-c', '-f progress', '-r ./spec/spec_helper.rb']
+ t.pattern = 'spec/**/*_spec.rb'
+end
View
1 spec/spec_helper.rb
@@ -0,0 +1 @@
+require File.join(File.dirname(__FILE__), '/../lib/tzip')
View
7 spec/tzip_spec.rb
@@ -0,0 +1,7 @@
+describe TZip do
+
+ it "should test" do
+ 1==1
+ end
+
+end

0 comments on commit 9613371

Please sign in to comment.