Skip to content

Commit

Permalink
Remove dependency on the money gem
Browse files Browse the repository at this point in the history
No longer used or needed; the code will continue to work if Money is
passed in since `respond_to?` checks are used to unwrap passed in Money.
  • Loading branch information
ntalbott committed Jul 3, 2014
1 parent aa9bc39 commit e47f020
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions Gemfile_common
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ group :test, :remote_test do
gem 'samurai', '>= 0.2.25'
gem 'braintree', '>= 2.0.0'
end

gem 'money', '5.0.0', :platforms => [:ruby_18]
1 change: 0 additions & 1 deletion activemerchant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Gem::Specification.new do |s|

s.add_dependency('activesupport', '>= 3.2.14', '< 5.0.0')
s.add_dependency('i18n', '>= 0.6.9')
s.add_dependency('money', '< 7.0.0')
s.add_dependency('builder', '>= 2.1.2', '< 4.0.0')
s.add_dependency('json', '~> 1.7')
s.add_dependency('active_utils', '~> 2.2.0')
Expand Down
9 changes: 0 additions & 9 deletions test/remote/gateways/remote_orbital_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ def test_failed_capture
assert_equal 'Bad data error', response.message
end

def test_successful_purchase_with_money
response = nil
silence_warnings do
assert response = @gateway.purchase(Money.new(100), @credit_card, @options)
end
assert_success response
assert_equal 'Approved', response.message
end

# == Certification Tests

# ==== Section A
Expand Down

0 comments on commit e47f020

Please sign in to comment.