mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-07 00:00:35 -05:00
Add a Rakefile for running tests
This commit is contained in:
parent
b3974868ac
commit
eee7ab5c44
@ -13,6 +13,7 @@ GEM
|
|||||||
mocha (0.11.3)
|
mocha (0.11.3)
|
||||||
metaclass (~> 0.0.1)
|
metaclass (~> 0.0.1)
|
||||||
multi_json (1.3.4)
|
multi_json (1.3.4)
|
||||||
|
rake (0.9.2.2)
|
||||||
rest-client (1.6.7)
|
rest-client (1.6.7)
|
||||||
mime-types (>= 1.16)
|
mime-types (>= 1.16)
|
||||||
shoulda (3.0.1)
|
shoulda (3.0.1)
|
||||||
@ -27,6 +28,7 @@ PLATFORMS
|
|||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
mocha
|
mocha
|
||||||
|
rake
|
||||||
shoulda
|
shoulda
|
||||||
stripe!
|
stripe!
|
||||||
test-unit
|
test-unit
|
||||||
|
|||||||
9
Rakefile
Normal file
9
Rakefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
task :default => [:test]
|
||||||
|
|
||||||
|
task :test do
|
||||||
|
ret = true
|
||||||
|
Dir["test/**/*.rb"].each do |f|
|
||||||
|
ret = ret && ruby(f, '')
|
||||||
|
end
|
||||||
|
exit(ret)
|
||||||
|
end
|
||||||
@ -19,6 +19,7 @@ spec = Gem::Specification.new do |s|
|
|||||||
s.add_development_dependency('mocha')
|
s.add_development_dependency('mocha')
|
||||||
s.add_development_dependency('shoulda')
|
s.add_development_dependency('shoulda')
|
||||||
s.add_development_dependency('test-unit')
|
s.add_development_dependency('test-unit')
|
||||||
|
s.add_development_dependency('rake')
|
||||||
|
|
||||||
s.files = %w{
|
s.files = %w{
|
||||||
bin/stripe-console
|
bin/stripe-console
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user