forceps 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/forceps/acts_as_copyable_model.rb +18 -2
- data/lib/forceps/version.rb +1 -1
- data/test/dummy/db/remote.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1883 -0
- data/test/sti_test.rb +3 -1
- metadata +3 -3
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
|
-
|
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.
|
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:
|
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:
|
219
|
+
hash: 3159744379386741456
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
222
|
rubygems_version: 1.8.23
|