s3_relay 0.3.2 → 0.4.0

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.
@@ -39,14 +39,8 @@ describe S3Relay::Model do
39
39
  end
40
40
  end
41
41
 
42
- describe "attributes" do
43
- describe "has_one" do
44
- it { @product.must_respond_to :new_photo_uploads_uuids= }
45
- end
46
-
47
- describe "has_many" do
48
- it { @product.must_respond_to :new_icon_upload_uuid= }
49
- end
42
+ describe "virtual attribute for UUID assignment" do
43
+ it { @product.must_respond_to :new_photo_uploads_uuids= }
50
44
  end
51
45
 
52
46
  describe "association method" do
@@ -57,15 +51,6 @@ describe S3Relay::Model do
57
51
  @photo_2 = FactoryGirl.create(:photo_upload)
58
52
  end
59
53
 
60
- describe "has_one" do
61
- it do
62
- @product.icon_upload.must_equal nil
63
- @product.new_icon_upload_uuid = @icon.uuid
64
- @product.associate_icon_upload
65
- @product.icon_upload.must_equal @icon
66
- end
67
- end
68
-
69
54
  describe "has_many" do
70
55
  it do
71
56
  @product.photo_uploads.must_equal []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_relay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenny Johnston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails
@@ -212,6 +212,7 @@ files:
212
212
  - test/dummy/config/secrets.yml
213
213
  - test/dummy/db/migrate/20141021002149_create_products.rb
214
214
  - test/dummy/db/schema.rb
215
+ - test/dummy/log/development.log
215
216
  - test/dummy/log/test.log
216
217
  - test/dummy/public/404.html
217
218
  - test/dummy/public/422.html
@@ -282,6 +283,7 @@ test_files:
282
283
  - test/dummy/config.ru
283
284
  - test/dummy/db/migrate/20141021002149_create_products.rb
284
285
  - test/dummy/db/schema.rb
286
+ - test/dummy/log/development.log
285
287
  - test/dummy/log/test.log
286
288
  - test/dummy/public/404.html
287
289
  - test/dummy/public/422.html