braintree-rails 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,9 +37,13 @@ describe 'Address Integration' do
37
37
  it 'should be able to destroy existing address' do
38
38
  customer = BraintreeRails::Customer.create!(customer_hash)
39
39
  address = customer.addresses.create!(address_hash)
40
- address.destroy!
40
+ address.destroy
41
41
  lambda{ Braintree::Address.find(customer.id, address.id) }.must_raise Braintree::NotFoundError
42
42
  address.persisted?.must_equal false
43
43
  address.frozen?.must_equal true
44
+
45
+ address = customer.addresses.create!(address_hash)
46
+ BraintreeRails::Address.delete(customer.id, address.id)
47
+ lambda{ Braintree::Address.find(customer.id, address.id) }.must_raise Braintree::NotFoundError
44
48
  end
45
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braintree-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-14 00:00:00.000000000 Z
12
+ date: 2013-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: braintree
@@ -145,7 +145,6 @@ executables: []
145
145
  extensions: []
146
146
  extra_rdoc_files: []
147
147
  files:
148
- - braintree-rails-0.4.2.gem
149
148
  - braintree-rails.gemspec
150
149
  - coverage/assets/0.5.3/app.js
151
150
  - coverage/assets/0.5.3/fancybox/blank.gif
Binary file