Permalink
Browse files

Bump gems and remove spork

  • Loading branch information...
1 parent 7672369 commit 6ef742575d140d59fefc8b500aba19aac66e952a Gabe Berke-Williams committed Apr 12, 2013
Showing with 23 additions and 32 deletions.
  1. +2 −4 fake_braintree.gemspec
  2. +21 −28 spec/spec_helper.rb
View
@@ -24,9 +24,7 @@ Gem::Specification.new do |s|
s.add_dependency 'thin'
s.add_development_dependency 'rspec', '~> 2.12.0'
- s.add_development_dependency 'bourne', '~> 1.0'
- s.add_development_dependency 'timecop', '~> 0.3.5'
- s.add_development_dependency 'spork', '~> 0.9.0.rc9'
- s.add_development_dependency 'bundler', '>= 1.0.14'
+ s.add_development_dependency 'bourne', '~> 1.3'
+ s.add_development_dependency 'timecop', '~> 0.6'
s.add_development_dependency 'rake'
end
View
@@ -1,36 +1,29 @@
-require 'spork'
-
-Spork.prefork do
- require 'rspec'
- require 'fake_braintree'
- require 'timecop'
- require 'bourne'
-
- def clear_braintree_log
- Dir.mkdir('tmp') unless File.directory?('tmp')
- File.new('tmp/braintree_log', 'w').close
- end
+require 'rspec'
+require 'fake_braintree'
+require 'timecop'
+require 'bourne'
+
+def clear_braintree_log
+ Dir.mkdir('tmp') unless File.directory?('tmp')
+ File.new('tmp/braintree_log', 'w').close
+end
- Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each {|f| require f}
+Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each {|f| require f}
- clear_braintree_log
+clear_braintree_log
- TEST_CC_NUMBER = %w(4111 1111 1111 1111).join
+TEST_CC_NUMBER = %w(4111 1111 1111 1111).join
- RSpec.configure do |config|
- config.mock_with :mocha
+RSpec.configure do |config|
+ config.mock_with :mocha
- config.include BraintreeHelpers
- config.include CustomerHelpers
- config.include SubscriptionHelpers
- config.include FakeBraintree::Helpers
+ config.include BraintreeHelpers
+ config.include CustomerHelpers
+ config.include SubscriptionHelpers
+ config.include FakeBraintree::Helpers
- config.before do
- FakeBraintree.clear!
- FakeBraintree.verify_all_cards = false
- end
+ config.before do
+ FakeBraintree.clear!
+ FakeBraintree.verify_all_cards = false
end
end
-
-Spork.each_run do
-end

0 comments on commit 6ef7425

Please sign in to comment.