Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

reduce dependencies

  • Loading branch information...
commit eb32996106a17490f18abfdc9352adb9bae7142f 1 parent 365476b
Konstantin Haase authored September 08, 2010
15  README.md
Source Rendered
... ...
@@ -1,13 +1,8 @@
1 1
 Sinatra::TestHelper
2 2
 ===================
3 3
 
4  
-Adds helper methods and better integration for various testing frameworks to [Sinatra](http://sinatrarb.com).
5  
-
6  
-BigBand
7  
--------
8  
-
9  
-Sinatra::TestHelper is part of the [BigBand](http://github.com/rkh/big_band) stack.
10  
-Check it out if you are looking for other fancy Sinatra extensions.
  4
+Adds helper methods and better integration for various testing frameworks to
  5
+[Sinatra](http://sinatrarb.com).
11 6
 
12 7
 
13 8
 Installation
@@ -49,3 +44,9 @@ Example:
49 44
         browse_route(:get, '/funky').body.should == "funky"
50 45
       end
51 46
     end
  47
+
  48
+BigBand
  49
+-------
  50
+
  51
+Sinatra::TestHelper is part of the [BigBand](http://github.com/rkh/big_band)
  52
+stack. Check it out if you are looking for other fancy Sinatra extensions.
3  lib/sinatra/test_helper.rb
... ...
@@ -1,13 +1,10 @@
1 1
 require "sinatra/base"
2  
-require "sinatra/sugar"
3 2
 require "rack/test"
4 3
 require "forwardable"
5  
-require "monkey-lib"
6 4
 
7 5
 Sinatra::Base.set :environment, :test
8 6
 
9 7
 module Sinatra
10  
-  Base.ignore_caller
11 8
   # This encapsulates general test helpers. See Bacon, RSpec, Test::Spec and Test::Unit for examples.
12 9
   module TestHelper
13 10
     module AppMixin
10  sinatra-test-helper.gemspec
... ...
@@ -1,13 +1,8 @@
1 1
 SPEC = Gem::Specification.new do |s|
2  
-
3 2
   # Get the facts.
4 3
   s.name             = "sinatra-test-helper"
5  
-  s.version          = "0.5.0"
6  
-  s.description      = "Test helper for Sinatra (part of BigBand)."
7  
-
8  
-  # BigBand depedencies
9  
-  s.add_dependency "monkey-lib", "~> 0.5.0"
10  
-  s.add_dependency "sinatra-sugar", "~> 0.5.0"
  4
+  s.version          = "0.6.0"
  5
+  s.description      = "Test helper and framework integration for Sinatra."
11 6
 
12 7
   # External dependencies
13 8
   s.add_dependency "sinatra", "~> 1.0"
@@ -20,5 +15,4 @@ SPEC = Gem::Specification.new do |s|
20 15
   s.homepage         = "http://github.com/rkh/#{s.name}"
21 16
   s.require_paths    = ["lib"]
22 17
   s.summary          = s.description
23  
-  
24 18
 end

0 notes on commit eb32996

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