Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reduce dependencies

  • Loading branch information...
commit eb32996106a17490f18abfdc9352adb9bae7142f 1 parent 365476b
@rkh authored
View
15 README.md
@@ -1,13 +1,8 @@
Sinatra::TestHelper
===================
-Adds helper methods and better integration for various testing frameworks to [Sinatra](http://sinatrarb.com).
-
-BigBand
--------
-
-Sinatra::TestHelper is part of the [BigBand](http://github.com/rkh/big_band) stack.
-Check it out if you are looking for other fancy Sinatra extensions.
+Adds helper methods and better integration for various testing frameworks to
+[Sinatra](http://sinatrarb.com).
Installation
@@ -49,3 +44,9 @@ Example:
browse_route(:get, '/funky').body.should == "funky"
end
end
+
+BigBand
+-------
+
+Sinatra::TestHelper is part of the [BigBand](http://github.com/rkh/big_band)
+stack. Check it out if you are looking for other fancy Sinatra extensions.
View
3  lib/sinatra/test_helper.rb
@@ -1,13 +1,10 @@
require "sinatra/base"
-require "sinatra/sugar"
require "rack/test"
require "forwardable"
-require "monkey-lib"
Sinatra::Base.set :environment, :test
module Sinatra
- Base.ignore_caller
# This encapsulates general test helpers. See Bacon, RSpec, Test::Spec and Test::Unit for examples.
module TestHelper
module AppMixin
View
10 sinatra-test-helper.gemspec
@@ -1,13 +1,8 @@
SPEC = Gem::Specification.new do |s|
-
# Get the facts.
s.name = "sinatra-test-helper"
- s.version = "0.5.0"
- s.description = "Test helper for Sinatra (part of BigBand)."
-
- # BigBand depedencies
- s.add_dependency "monkey-lib", "~> 0.5.0"
- s.add_dependency "sinatra-sugar", "~> 0.5.0"
+ s.version = "0.6.0"
+ s.description = "Test helper and framework integration for Sinatra."
# External dependencies
s.add_dependency "sinatra", "~> 1.0"
@@ -20,5 +15,4 @@ SPEC = Gem::Specification.new do |s|
s.homepage = "http://github.com/rkh/#{s.name}"
s.require_paths = ["lib"]
s.summary = s.description
-
end
Please sign in to comment.
Something went wrong with that request. Please try again.