Permalink
Browse files

Making sure we have specs in the repo.

  • Loading branch information...
1 parent 3337c67 commit 50d80c7e112033693b7751942b7edc863c13e545 @evolve2k committed Jun 10, 2011
Showing with 6 additions and 31 deletions.
  1. +1 −0 .document
  2. +2 −6 frogger.gemspec
  3. +3 −0 spec/spec_helper.rb
  4. +0 −18 test/helper.rb
  5. +0 −7 test/test_frogger.rb
View
@@ -2,4 +2,5 @@ lib/**/*.rb
bin/*
-
features/**/*.feature
+spec/**/*.rb
LICENSE.txt
View
@@ -25,19 +25,15 @@ Gem::Specification.new do |s|
"Rakefile",
"VERSION",
"frogger.gemspec",
- "lib/frogger.rb",
- "test/helper.rb",
- "test/test_frogger.rb"
+ "lib/frogger.rb"
]
s.homepage = %q{http://github.com/evolve2k/frogger}
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.5.3}
s.summary = %q{Frogger makes logs easier to navigate.}
s.test_files = [
- "spec/spec_helper.rb",
- "test/helper.rb",
- "test/test_frogger.rb"
+ "spec/spec_helper.rb"
]
if s.respond_to? :specification_version then
View
@@ -0,0 +1,3 @@
+$LOAD_PATH << File.join(File.dirname(__FILE__),"..","lib")
+require 'spec'
+require 'frogger'
View
@@ -1,18 +0,0 @@
-require 'rubygems'
-require 'bundler'
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
-require 'test/unit'
-require 'shoulda'
-
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-require 'frogger'
-
-class Test::Unit::TestCase
-end
View
@@ -1,7 +0,0 @@
-require 'helper'
-
-class TestFrogger < Test::Unit::TestCase
- should "probably rename this file and start testing for real" do
- flunk "hey buddy, you should probably rename this file and start testing for real"
- end
-end

0 comments on commit 50d80c7

Please sign in to comment.