forceps 0.6.2 → 0.6.3

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.
data/test/sti_test.rb CHANGED
@@ -14,7 +14,9 @@ class StiTest < ActiveSupport::TestCase
14
14
 
15
15
  test "should download child objects when using single table inheritance" do
16
16
  Forceps::Remote::Product.find_by_name('audi').copy_to_local
17
- assert_not_nil Product.find_by_name('CAR: audi')
17
+ copied_car=Product.find_by_name('CAR: audi')
18
+ assert_not_nil copied_car
19
+ assert_instance_of Car, copied_car
18
20
  end
19
21
 
20
22
  def create_remote_car(attributes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forceps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: -1595300620203898353
210
+ hash: 3159744379386741456
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  none: false
213
213
  requirements:
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  segments:
218
218
  - 0
219
- hash: -1595300620203898353
219
+ hash: 3159744379386741456
220
220
  requirements: []
221
221
  rubyforge_project:
222
222
  rubygems_version: 1.8.23