attached 1.0.1 → 1.0.2
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.
- checksums.yaml +4 -4
- data/README.rdoc +1 -1
- data/lib/attached/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/application.js.coffee +0 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +799 -0
- data/test/dummy/public/system/audios/files/full/828531f1-a38d-4406-b147-1a01cff06a67.aac +0 -0
- data/test/dummy/public/system/audios/files/full/cd9bcb87-f6f1-4a63-8989-433f71e44803.aac +0 -0
- data/test/dummy/public/system/audios/files/full/d6421e75-ec3b-4c68-8f50-0365b131505a.aac +0 -0
- data/test/dummy/public/system/audios/files/full/d7a777c2-ce13-4dc3-a401-ac81b469734f.aac +0 -0
- data/test/dummy/public/system/audios/files/full/de5a8bbe-292b-49b8-8fdd-b84dc78be9dc.aac +0 -0
- data/test/dummy/public/system/audios/files/full/e8b653fe-9f0a-458e-a4f1-f2a3c43b57b0.aac +0 -0
- data/test/dummy/public/system/audios/files/large/828531f1-a38d-4406-b147-1a01cff06a67.aac +0 -0
- data/test/dummy/public/system/audios/files/large/cd9bcb87-f6f1-4a63-8989-433f71e44803.aac +0 -0
- data/test/dummy/public/system/audios/files/large/d6421e75-ec3b-4c68-8f50-0365b131505a.aac +0 -0
- data/test/dummy/public/system/audios/files/large/d7a777c2-ce13-4dc3-a401-ac81b469734f.aac +0 -0
- data/test/dummy/public/system/audios/files/large/de5a8bbe-292b-49b8-8fdd-b84dc78be9dc.aac +0 -0
- data/test/dummy/public/system/audios/files/large/e8b653fe-9f0a-458e-a4f1-f2a3c43b57b0.aac +0 -0
- data/test/dummy/public/system/audios/files/original/828531f1-a38d-4406-b147-1a01cff06a67.wav +0 -0
- data/test/dummy/public/system/audios/files/original/cd9bcb87-f6f1-4a63-8989-433f71e44803.wav +0 -0
- data/test/dummy/public/system/audios/files/original/d6421e75-ec3b-4c68-8f50-0365b131505a.wav +0 -0
- data/test/dummy/public/system/audios/files/original/d7a777c2-ce13-4dc3-a401-ac81b469734f.wav +0 -0
- data/test/dummy/public/system/audios/files/original/de5a8bbe-292b-49b8-8fdd-b84dc78be9dc.wav +0 -0
- data/test/dummy/public/system/audios/files/original/e8b653fe-9f0a-458e-a4f1-f2a3c43b57b0.wav +0 -0
- data/test/dummy/public/system/audios/files/small/828531f1-a38d-4406-b147-1a01cff06a67.aac +0 -0
- data/test/dummy/public/system/audios/files/small/cd9bcb87-f6f1-4a63-8989-433f71e44803.aac +0 -0
- data/test/dummy/public/system/audios/files/small/d6421e75-ec3b-4c68-8f50-0365b131505a.aac +0 -0
- data/test/dummy/public/system/audios/files/small/d7a777c2-ce13-4dc3-a401-ac81b469734f.aac +0 -0
- data/test/dummy/public/system/audios/files/small/de5a8bbe-292b-49b8-8fdd-b84dc78be9dc.aac +0 -0
- data/test/dummy/public/system/audios/files/small/e8b653fe-9f0a-458e-a4f1-f2a3c43b57b0.aac +0 -0
- data/test/dummy/public/system/images/files/full/03829713-9b5f-4c1e-884f-0f26f0cb9e67.jpg +0 -0
- data/test/dummy/public/system/images/files/full/26ce2974-85cf-422b-a5c5-40d81f11dc42.jpg +0 -0
- data/test/dummy/public/system/images/files/full/51dd191f-df09-4844-af87-2c59735cc8ca.jpg +0 -0
- data/test/dummy/public/system/images/files/full/7701c538-0fed-4556-af9d-d5b4fda56c4e.jpg +0 -0
- data/test/dummy/public/system/images/files/full/c16a1f6f-014a-4d4f-aed3-1846e12349eb.jpg +0 -0
- data/test/dummy/public/system/images/files/full/c748e72c-69c7-4d17-bcce-67ffe2c54353.jpg +0 -0
- data/test/dummy/public/system/images/files/large/03829713-9b5f-4c1e-884f-0f26f0cb9e67.jpg +0 -0
- data/test/dummy/public/system/images/files/large/26ce2974-85cf-422b-a5c5-40d81f11dc42.jpg +0 -0
- data/test/dummy/public/system/images/files/large/51dd191f-df09-4844-af87-2c59735cc8ca.jpg +0 -0
- data/test/dummy/public/system/images/files/large/7701c538-0fed-4556-af9d-d5b4fda56c4e.jpg +0 -0
- data/test/dummy/public/system/images/files/large/c16a1f6f-014a-4d4f-aed3-1846e12349eb.jpg +0 -0
- data/test/dummy/public/system/images/files/large/c748e72c-69c7-4d17-bcce-67ffe2c54353.jpg +0 -0
- data/test/dummy/public/system/images/files/original/03829713-9b5f-4c1e-884f-0f26f0cb9e67.png +0 -0
- data/test/dummy/public/system/images/files/original/26ce2974-85cf-422b-a5c5-40d81f11dc42.png +0 -0
- data/test/dummy/public/system/images/files/original/51dd191f-df09-4844-af87-2c59735cc8ca.png +0 -0
- data/test/dummy/public/system/images/files/original/7701c538-0fed-4556-af9d-d5b4fda56c4e.png +0 -0
- data/test/dummy/public/system/images/files/original/c16a1f6f-014a-4d4f-aed3-1846e12349eb.png +0 -0
- data/test/dummy/public/system/images/files/original/c748e72c-69c7-4d17-bcce-67ffe2c54353.png +0 -0
- data/test/dummy/public/system/images/files/small/03829713-9b5f-4c1e-884f-0f26f0cb9e67.jpg +0 -0
- data/test/dummy/public/system/images/files/small/26ce2974-85cf-422b-a5c5-40d81f11dc42.jpg +0 -0
- data/test/dummy/public/system/images/files/small/51dd191f-df09-4844-af87-2c59735cc8ca.jpg +0 -0
- data/test/dummy/public/system/images/files/small/7701c538-0fed-4556-af9d-d5b4fda56c4e.jpg +0 -0
- data/test/dummy/public/system/images/files/small/c16a1f6f-014a-4d4f-aed3-1846e12349eb.jpg +0 -0
- data/test/dummy/public/system/images/files/small/c748e72c-69c7-4d17-bcce-67ffe2c54353.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/03829713-9b5f-4c1e-884f-0f26f0cb9e67.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/26ce2974-85cf-422b-a5c5-40d81f11dc42.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/51dd191f-df09-4844-af87-2c59735cc8ca.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/7701c538-0fed-4556-af9d-d5b4fda56c4e.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/c16a1f6f-014a-4d4f-aed3-1846e12349eb.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/c748e72c-69c7-4d17-bcce-67ffe2c54353.jpg +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/00e655a65dde5f3c670a0cbb47b9a1ea +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/097a03dc3adc199bfdf7679723266126 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/293c985fbc5b472503b7d382b4cb2c83 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2ec4a702b8e8920ba35af876909af335 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/396d5652ace43c3a394ac73cafd81f8a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/399f8db1b6611d514267eb5dfa882ad3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/436248b718a79a0e0f1b95e148ec1666 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/53b747c9d99b7030136b65fc6d449002 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5e7e47133e845f983f542a2482883565 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/686d3c30c26bfbc861874a81a1ecff3d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6e19a07f286b00981926a2440b4cd1a1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/71d6b2d2cd1209ddffa04ca580a1d49a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/72d215033ed2b6bfa9a44cb8ce571723 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7481e690adc4e4ccb3c9c41c31f2c284 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/823ee9dbdcc94ee214a06e0deea8ceec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/86e145a39f85cceeaffdff91ebb61449 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8983f10ef5d6e0da1009637bafcf38dd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8d139344799ab48f66c0d4d1841da2cb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/90659896e8bcb36c56af095026df7ce1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/959c4052adac4c2f18197b37f5de5445 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a22e9dbf576b62c5e09bf7cf6d41d9d4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/afdb97c4f7aa20b328448c9f02a1180f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cc29554d9c3106547f93e3f9297f00d9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dcc40f82451492107830b3dd80a36977 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dd9fd21ad6903dad7568c8da5fc75295 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e26c921e61202567bed22b28f3383472 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e4cb18846a33c0cf46998bc42f53c3e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ec6dbdfd437cce2227524111fc0718f2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f5d9005c000eb6564e07542315c81dae +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f6fa20607f7937651d0f70165f1b8cf7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fee934e8e36f453d5e4278a502226197 +0 -0
- metadata +169 -3
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df1ee9cdca4f47f905e02627f22eb4b219c55f2b
|
|
4
|
+
data.tar.gz: a68a2ae704417bbcfab352b16b4f1581e65fb28a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69a01f0edeb04d7ac75d9ba1a01d3ff5fa9ca3eb3c6d50568cddb2f111be591990b387c1b4816085f91f802ee32c83a6b94f73c648237091089264155e1b2258
|
|
7
|
+
data.tar.gz: fdaed7b7789d32ff5261fe388292e50cf06e2e2dfd811746e15e25a5266cea22d1b61be4d828a876970374e1eab0ec37f170ab9548ecda31d731b97eed54b280
|
data/README.rdoc
CHANGED
data/lib/attached/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -16699,3 +16699,802 @@ ImageTest: test_valid_file_assignment
|
|
|
16699
16699
|
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-05-14 07:32:01.032747"], ["file_extension", ".png"], ["file_identifier", "da527c5d-7f5c-4b94-aa6d-1280678e37fc"], ["file_size", 399085], ["updated_at", "2014-05-14 07:32:01.032747"]]
|
|
16700
16700
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16701
16701
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
16702
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
16703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16704
|
+
---------------------------------------
|
|
16705
|
+
AttachedTest: test_attached_is_a_module
|
|
16706
|
+
---------------------------------------
|
|
16707
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
16708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16709
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "audios"[0m
|
|
16710
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 08:04:49', '2014-05-14 08:04:49', 410859157)
|
|
16711
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "images"[0m
|
|
16712
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 08:04:49', '2014-05-14 08:04:49', 87884898)
|
|
16713
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
|
16714
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16715
|
+
----------------------------------------------
|
|
16716
|
+
AudiosControllerTest: test_should_create_audio
|
|
16717
|
+
----------------------------------------------
|
|
16718
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16719
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audios"
|
|
16720
|
+
Processing by AudiosController#create as HTML
|
|
16721
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fb6a4e9d6a0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/audio.wav20140514-12162-1sqxef3>>}}
|
|
16722
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16723
|
+
[attached] save attached
|
|
16724
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 08:04:50.064315"], ["file_extension", ".wav"], ["file_identifier", "d6421e75-ec3b-4c68-8f50-0365b131505a"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", "2014-05-14 08:04:50.064315"]]
|
|
16725
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
16726
|
+
Redirected to http://test.host/audios/410859158
|
|
16727
|
+
Completed 302 Found in 542ms (ActiveRecord: 0.5ms)
|
|
16728
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
16729
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
16730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16731
|
+
-----------------------------------------------
|
|
16732
|
+
AudiosControllerTest: test_should_destroy_audio
|
|
16733
|
+
-----------------------------------------------
|
|
16734
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16735
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
16736
|
+
Processing by AudiosController#destroy as HTML
|
|
16737
|
+
Parameters: {"id"=>"410859157"}
|
|
16738
|
+
[1m[36mAudio Load (0.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16740
|
+
[attached] destroy attached
|
|
16741
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
16742
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16743
|
+
Redirected to http://test.host/audios
|
|
16744
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
|
16745
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audios"[0m
|
|
16746
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
16747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
16748
|
+
------------------------------------------
|
|
16749
|
+
AudiosControllerTest: test_should_get_edit
|
|
16750
|
+
------------------------------------------
|
|
16751
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
16752
|
+
Processing by AudiosController#edit as HTML
|
|
16753
|
+
Parameters: {"id"=>"410859157"}
|
|
16754
|
+
[1m[36mAudio Load (0.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16755
|
+
Rendered audios/_form.html.haml (19.1ms)
|
|
16756
|
+
Completed 200 OK in 49ms (Views: 48.5ms | ActiveRecord: 0.0ms)
|
|
16757
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
16759
|
+
-------------------------------------------
|
|
16760
|
+
AudiosControllerTest: test_should_get_index
|
|
16761
|
+
-------------------------------------------
|
|
16762
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
16763
|
+
Processing by AudiosController#index as HTML
|
|
16764
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios"[0m
|
|
16765
|
+
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.1ms)
|
|
16766
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16767
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16768
|
+
-----------------------------------------
|
|
16769
|
+
AudiosControllerTest: test_should_get_new
|
|
16770
|
+
-----------------------------------------
|
|
16771
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
16772
|
+
Processing by AudiosController#new as HTML
|
|
16773
|
+
Rendered audios/_form.html.haml (1.6ms)
|
|
16774
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
|
16775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16776
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16777
|
+
--------------------------------------------
|
|
16778
|
+
AudiosControllerTest: test_should_show_audio
|
|
16779
|
+
--------------------------------------------
|
|
16780
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16781
|
+
Processing by AudiosController#show as HTML
|
|
16782
|
+
Parameters: {"id"=>"410859157"}
|
|
16783
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
16784
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
|
16785
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16787
|
+
----------------------------------------------
|
|
16788
|
+
AudiosControllerTest: test_should_update_audio
|
|
16789
|
+
----------------------------------------------
|
|
16790
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
16791
|
+
Processing by AudiosController#update as HTML
|
|
16792
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 08:04:49 UTC", "updated_at"=>"2014-05-14 08:04:49 UTC"}, "id"=>"410859157"}
|
|
16793
|
+
[1m[35mAudio Load (0.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
16794
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
16795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16796
|
+
[attached] save attached
|
|
16797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16798
|
+
Redirected to http://test.host/audios/410859157
|
|
16799
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
|
16800
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16802
|
+
----------------------------------------------
|
|
16803
|
+
ImagesControllerTest: test_should_create_image
|
|
16804
|
+
----------------------------------------------
|
|
16805
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16806
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
16807
|
+
Processing by ImagesController#create as HTML
|
|
16808
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fb6a6a5bbd0 @content_type="image/png", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/image.png20140514-12162-6xb0lu>>}}
|
|
16809
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16810
|
+
[attached] save attached
|
|
16811
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 08:04:50.344976"], ["file_extension", ".png"], ["file_identifier", "7701c538-0fed-4556-af9d-d5b4fda56c4e"], ["file_size", 399085], ["name", "Image"], ["updated_at", "2014-05-14 08:04:50.344976"]]
|
|
16812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
16813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
16814
|
+
[attached] save attached
|
|
16815
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
16816
|
+
Redirected to http://test.host/images/87884899
|
|
16817
|
+
Completed 302 Found in 169ms (ActiveRecord: 0.5ms)
|
|
16818
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "images"
|
|
16819
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
16820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16821
|
+
-----------------------------------------------
|
|
16822
|
+
ImagesControllerTest: test_should_destroy_image
|
|
16823
|
+
-----------------------------------------------
|
|
16824
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16825
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "images"
|
|
16826
|
+
Processing by ImagesController#destroy as HTML
|
|
16827
|
+
Parameters: {"id"=>"87884898"}
|
|
16828
|
+
[1m[36mImage Load (0.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
16830
|
+
[attached] destroy attached
|
|
16831
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "images" WHERE "images"."id" = ?[0m [["id", 87884898]]
|
|
16832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16833
|
+
Redirected to http://test.host/images
|
|
16834
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
16835
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "images"[0m
|
|
16836
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
16837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16838
|
+
------------------------------------------
|
|
16839
|
+
ImagesControllerTest: test_should_get_edit
|
|
16840
|
+
------------------------------------------
|
|
16841
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
16842
|
+
Processing by ImagesController#edit as HTML
|
|
16843
|
+
Parameters: {"id"=>"87884898"}
|
|
16844
|
+
[1m[36mImage Load (0.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16845
|
+
Rendered images/_form.html.haml (4.6ms)
|
|
16846
|
+
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
|
|
16847
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16849
|
+
-------------------------------------------
|
|
16850
|
+
ImagesControllerTest: test_should_get_index
|
|
16851
|
+
-------------------------------------------
|
|
16852
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
16853
|
+
Processing by ImagesController#index as HTML
|
|
16854
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images"[0m
|
|
16855
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.1ms)
|
|
16856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16857
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
16858
|
+
-----------------------------------------
|
|
16859
|
+
ImagesControllerTest: test_should_get_new
|
|
16860
|
+
-----------------------------------------
|
|
16861
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
16862
|
+
Processing by ImagesController#new as HTML
|
|
16863
|
+
Rendered images/_form.html.haml (1.6ms)
|
|
16864
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
|
16865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16867
|
+
--------------------------------------------
|
|
16868
|
+
ImagesControllerTest: test_should_show_image
|
|
16869
|
+
--------------------------------------------
|
|
16870
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16871
|
+
Processing by ImagesController#show as HTML
|
|
16872
|
+
Parameters: {"id"=>"87884898"}
|
|
16873
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
16874
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
|
|
16875
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16876
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16877
|
+
----------------------------------------------
|
|
16878
|
+
ImagesControllerTest: test_should_update_image
|
|
16879
|
+
----------------------------------------------
|
|
16880
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
16881
|
+
Processing by ImagesController#update as HTML
|
|
16882
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 08:04:49 UTC", "updated_at"=>"2014-05-14 08:04:49 UTC"}, "id"=>"87884898"}
|
|
16883
|
+
[1m[35mImage Load (0.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
16884
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
16885
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16886
|
+
[attached] save attached
|
|
16887
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16888
|
+
Redirected to http://test.host/images/87884898
|
|
16889
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
|
16890
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
16891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
16892
|
+
-----------------------------------------
|
|
16893
|
+
MainControllerTest: test_should_get_index
|
|
16894
|
+
-----------------------------------------
|
|
16895
|
+
Processing by MainController#index as HTML
|
|
16896
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
16897
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
16898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16899
|
+
---------------------------------------
|
|
16900
|
+
AudioTest: test_inavlid_file_assignment
|
|
16901
|
+
---------------------------------------
|
|
16902
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16903
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
16904
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16906
|
+
----------------------------------
|
|
16907
|
+
AudioTest: test_no_file_assignment
|
|
16908
|
+
----------------------------------
|
|
16909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16910
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
16911
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
16912
|
+
[1m[35m (0.6ms)[0m begin transaction
|
|
16913
|
+
-----------------------------------------
|
|
16914
|
+
AudioTest: test_too_large_file_assignment
|
|
16915
|
+
-----------------------------------------
|
|
16916
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16917
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
16918
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16919
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16920
|
+
-----------------------------------------
|
|
16921
|
+
AudioTest: test_too_small_file_assignment
|
|
16922
|
+
-----------------------------------------
|
|
16923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16924
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
16925
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
16926
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16927
|
+
-----------------------------------------
|
|
16928
|
+
AudioTest: test_undefined_file_assignment
|
|
16929
|
+
-----------------------------------------
|
|
16930
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16931
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
16932
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
16933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
16934
|
+
-------------------------------------
|
|
16935
|
+
AudioTest: test_valid_file_assignment
|
|
16936
|
+
-------------------------------------
|
|
16937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
16938
|
+
[attached] save attached
|
|
16939
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 08:04:50.961210"], ["file_extension", ".wav"], ["file_identifier", "e8b653fe-9f0a-458e-a4f1-f2a3c43b57b0"], ["file_size", 1055276], ["updated_at", "2014-05-14 08:04:50.961210"]]
|
|
16940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
16941
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
16942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16943
|
+
---------------------------------------
|
|
16944
|
+
ImageTest: test_inavlid_file_assignment
|
|
16945
|
+
---------------------------------------
|
|
16946
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16947
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
16948
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
16949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16950
|
+
----------------------------------
|
|
16951
|
+
ImageTest: test_no_file_assignment
|
|
16952
|
+
----------------------------------
|
|
16953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
16954
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
16955
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16957
|
+
-----------------------------------------
|
|
16958
|
+
ImageTest: test_too_large_file_assignment
|
|
16959
|
+
-----------------------------------------
|
|
16960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16961
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
16962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
16963
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16964
|
+
-----------------------------------------
|
|
16965
|
+
ImageTest: test_too_small_file_assignment
|
|
16966
|
+
-----------------------------------------
|
|
16967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16968
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
16969
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16970
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16971
|
+
-----------------------------------------
|
|
16972
|
+
ImageTest: test_undefined_file_assignment
|
|
16973
|
+
-----------------------------------------
|
|
16974
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16975
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
16976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
16977
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16978
|
+
-------------------------------------
|
|
16979
|
+
ImageTest: test_valid_file_assignment
|
|
16980
|
+
-------------------------------------
|
|
16981
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
16982
|
+
[attached] save attached
|
|
16983
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-05-14 08:04:51.165610"], ["file_extension", ".png"], ["file_identifier", "03829713-9b5f-4c1e-884f-0f26f0cb9e67"], ["file_size", 399085], ["updated_at", "2014-05-14 08:04:51.165610"]]
|
|
16984
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
16985
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
16986
|
+
[1m[36m (18.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
|
16987
|
+
[1m[35mActiveRecord::SchemaMigration Load (3.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
16988
|
+
[1m[36m (3.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"[0m
|
|
16989
|
+
[1m[35m (2.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND name = "schema_migrations"
|
|
16990
|
+
---------------------------------------
|
|
16991
|
+
AttachedTest: test_attached_is_a_module
|
|
16992
|
+
---------------------------------------
|
|
16993
|
+
[1m[36m (3.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND name = "audios"[0m
|
|
16994
|
+
[1m[35mFixture Delete (5.0ms)[0m DELETE FROM "audios"
|
|
16995
|
+
[1m[36mFixture Insert (6.0ms)[0m [1mINSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 16:23:52', '2014-05-14 16:23:52', 410859157)[0m
|
|
16996
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND name = "images"
|
|
16997
|
+
[1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "images"[0m
|
|
16998
|
+
[1m[35mFixture Insert (2.0ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 16:23:53', '2014-05-14 16:23:53', 87884898)
|
|
16999
|
+
----------------------------------------------
|
|
17000
|
+
AudiosControllerTest: test_should_create_audio
|
|
17001
|
+
----------------------------------------------
|
|
17002
|
+
[1m[36mAudio Load (3.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17003
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17004
|
+
Processing by AudiosController#create as HTML
|
|
17005
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x296949c8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/audio.wav20140514-22409-rvbibm>>}}
|
|
17006
|
+
[1m[36mSavepoint (6.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17007
|
+
[attached] save attached
|
|
17008
|
+
[1m[35mSQL (5.0ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES ('2014-05-14 16:23:53.839000', '.wav', 'cd9bcb87-f6f1-4a63-8989-433f71e44803', 1055276, 'Audio', '2014-05-14 16:23:53.839000')
|
|
17009
|
+
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17010
|
+
Redirected to http://test.host/audios/410859158
|
|
17011
|
+
Completed 302 Found in 725ms (ActiveRecord: 12.0ms)
|
|
17012
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17013
|
+
-----------------------------------------------
|
|
17014
|
+
AudiosControllerTest: test_should_destroy_audio
|
|
17015
|
+
-----------------------------------------------
|
|
17016
|
+
[1m[36mAudio Load (3.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17017
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17018
|
+
Processing by AudiosController#destroy as HTML
|
|
17019
|
+
Parameters: {"id"=>"410859157"}
|
|
17020
|
+
[1m[36mAudio Load (2.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17021
|
+
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
|
17022
|
+
[attached] destroy attached
|
|
17023
|
+
[1m[36mSQL (2.0ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = 410859157[0m
|
|
17024
|
+
[1m[35mSavepoint (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17025
|
+
Redirected to http://test.host/audios
|
|
17026
|
+
Completed 302 Found in 32ms (ActiveRecord: 6.0ms)
|
|
17027
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audios"[0m
|
|
17028
|
+
------------------------------------------
|
|
17029
|
+
AudiosControllerTest: test_should_get_edit
|
|
17030
|
+
------------------------------------------
|
|
17031
|
+
[1m[35mAudio Load (2.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1
|
|
17032
|
+
Processing by AudiosController#edit as HTML
|
|
17033
|
+
Parameters: {"id"=>"410859157"}
|
|
17034
|
+
[1m[36mAudio Load (3.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17035
|
+
Rendered audios/_form.html.haml (229.0ms)
|
|
17036
|
+
Completed 200 OK in 1006ms (Views: 995.0ms | ActiveRecord: 3.0ms)
|
|
17037
|
+
-------------------------------------------
|
|
17038
|
+
AudiosControllerTest: test_should_get_index
|
|
17039
|
+
-------------------------------------------
|
|
17040
|
+
[1m[35mAudio Load (3.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1
|
|
17041
|
+
Processing by AudiosController#index as HTML
|
|
17042
|
+
[1m[36mAudio Load (2.0ms)[0m [1mSELECT "audios".* FROM "audios"[0m
|
|
17043
|
+
Completed 200 OK in 168ms (Views: 141.0ms | ActiveRecord: 2.0ms)
|
|
17044
|
+
-----------------------------------------
|
|
17045
|
+
AudiosControllerTest: test_should_get_new
|
|
17046
|
+
-----------------------------------------
|
|
17047
|
+
[1m[35mAudio Load (3.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1
|
|
17048
|
+
Processing by AudiosController#new as HTML
|
|
17049
|
+
Rendered audios/_form.html.haml (39.0ms)
|
|
17050
|
+
Completed 200 OK in 123ms (Views: 112.0ms | ActiveRecord: 0.0ms)
|
|
17051
|
+
--------------------------------------------
|
|
17052
|
+
AudiosControllerTest: test_should_show_audio
|
|
17053
|
+
--------------------------------------------
|
|
17054
|
+
[1m[36mAudio Load (5.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17055
|
+
Processing by AudiosController#show as HTML
|
|
17056
|
+
Parameters: {"id"=>"410859157"}
|
|
17057
|
+
[1m[35mAudio Load (2.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1
|
|
17058
|
+
Completed 200 OK in 61ms (Views: 53.0ms | ActiveRecord: 2.0ms)
|
|
17059
|
+
----------------------------------------------
|
|
17060
|
+
AudiosControllerTest: test_should_update_audio
|
|
17061
|
+
----------------------------------------------
|
|
17062
|
+
[1m[36mAudio Load (20.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1[0m
|
|
17063
|
+
Processing by AudiosController#update as HTML
|
|
17064
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 16:23:52 UTC", "updated_at"=>"2014-05-14 16:23:52 UTC"}, "id"=>"410859157"}
|
|
17065
|
+
[1m[35mAudio Load (4.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = 410859157 LIMIT 1
|
|
17066
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
17067
|
+
[1m[36mSavepoint (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17068
|
+
[attached] save attached
|
|
17069
|
+
[1m[35mSavepoint (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17070
|
+
Redirected to http://test.host/audios/410859157
|
|
17071
|
+
Completed 302 Found in 79ms (ActiveRecord: 5.0ms)
|
|
17072
|
+
----------------------------------------------
|
|
17073
|
+
ImagesControllerTest: test_should_create_image
|
|
17074
|
+
----------------------------------------------
|
|
17075
|
+
[1m[36mImage Load (4.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17076
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "images"
|
|
17077
|
+
Processing by ImagesController#create as HTML
|
|
17078
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x7ed6e557 @content_type="image/png", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/image.png20140514-22409-964dkh>>}}
|
|
17079
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17080
|
+
[attached] save attached
|
|
17081
|
+
[1m[35mSQL (5.0ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES ('2014-05-14 16:23:57.446000', '.png', 'c748e72c-69c7-4d17-bcce-67ffe2c54353', 399085, 'Image', '2014-05-14 16:23:57.446000')
|
|
17082
|
+
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17083
|
+
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
|
17084
|
+
[attached] save attached
|
|
17085
|
+
[1m[36mSavepoint (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17086
|
+
Redirected to http://test.host/images/87884899
|
|
17087
|
+
Completed 302 Found in 1532ms (ActiveRecord: 7.0ms)
|
|
17088
|
+
[1m[35m (2.0ms)[0m SELECT COUNT(*) FROM "images"
|
|
17089
|
+
-----------------------------------------------
|
|
17090
|
+
ImagesControllerTest: test_should_destroy_image
|
|
17091
|
+
-----------------------------------------------
|
|
17092
|
+
[1m[36mImage Load (3.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17093
|
+
[1m[35m (2.0ms)[0m SELECT COUNT(*) FROM "images"
|
|
17094
|
+
Processing by ImagesController#destroy as HTML
|
|
17095
|
+
Parameters: {"id"=>"87884898"}
|
|
17096
|
+
[1m[36mImage Load (2.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17097
|
+
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
|
17098
|
+
[attached] destroy attached
|
|
17099
|
+
[1m[36mSQL (6.0ms)[0m [1mDELETE FROM "images" WHERE "images"."id" = 87884898[0m
|
|
17100
|
+
[1m[35mSavepoint (3.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17101
|
+
Redirected to http://test.host/images
|
|
17102
|
+
Completed 302 Found in 81ms (ActiveRecord: 11.0ms)
|
|
17103
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "images"[0m
|
|
17104
|
+
------------------------------------------
|
|
17105
|
+
ImagesControllerTest: test_should_get_edit
|
|
17106
|
+
------------------------------------------
|
|
17107
|
+
[1m[35mImage Load (3.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1
|
|
17108
|
+
Processing by ImagesController#edit as HTML
|
|
17109
|
+
Parameters: {"id"=>"87884898"}
|
|
17110
|
+
[1m[36mImage Load (3.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17111
|
+
Rendered images/_form.html.haml (105.0ms)
|
|
17112
|
+
Completed 200 OK in 191ms (Views: 178.0ms | ActiveRecord: 3.0ms)
|
|
17113
|
+
-------------------------------------------
|
|
17114
|
+
ImagesControllerTest: test_should_get_index
|
|
17115
|
+
-------------------------------------------
|
|
17116
|
+
[1m[35mImage Load (3.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1
|
|
17117
|
+
Processing by ImagesController#index as HTML
|
|
17118
|
+
[1m[36mImage Load (1.0ms)[0m [1mSELECT "images".* FROM "images"[0m
|
|
17119
|
+
Completed 200 OK in 208ms (Views: 203.0ms | ActiveRecord: 1.0ms)
|
|
17120
|
+
-----------------------------------------
|
|
17121
|
+
ImagesControllerTest: test_should_get_new
|
|
17122
|
+
-----------------------------------------
|
|
17123
|
+
[1m[35mImage Load (2.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1
|
|
17124
|
+
Processing by ImagesController#new as HTML
|
|
17125
|
+
Rendered images/_form.html.haml (50.0ms)
|
|
17126
|
+
Completed 200 OK in 103ms (Views: 95.0ms | ActiveRecord: 0.0ms)
|
|
17127
|
+
--------------------------------------------
|
|
17128
|
+
ImagesControllerTest: test_should_show_image
|
|
17129
|
+
--------------------------------------------
|
|
17130
|
+
[1m[36mImage Load (2.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17131
|
+
Processing by ImagesController#show as HTML
|
|
17132
|
+
Parameters: {"id"=>"87884898"}
|
|
17133
|
+
[1m[35mImage Load (2.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1
|
|
17134
|
+
Completed 200 OK in 88ms (Views: 70.0ms | ActiveRecord: 2.0ms)
|
|
17135
|
+
----------------------------------------------
|
|
17136
|
+
ImagesControllerTest: test_should_update_image
|
|
17137
|
+
----------------------------------------------
|
|
17138
|
+
[1m[36mImage Load (1.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1[0m
|
|
17139
|
+
Processing by ImagesController#update as HTML
|
|
17140
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 16:23:53 UTC", "updated_at"=>"2014-05-14 16:23:53 UTC"}, "id"=>"87884898"}
|
|
17141
|
+
[1m[35mImage Load (4.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = 87884898 LIMIT 1
|
|
17142
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
17143
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17144
|
+
[attached] save attached
|
|
17145
|
+
[1m[35mSavepoint (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17146
|
+
Redirected to http://test.host/images/87884898
|
|
17147
|
+
Completed 302 Found in 93ms (ActiveRecord: 5.0ms)
|
|
17148
|
+
-----------------------------------------
|
|
17149
|
+
MainControllerTest: test_should_get_index
|
|
17150
|
+
-----------------------------------------
|
|
17151
|
+
Processing by MainController#index as HTML
|
|
17152
|
+
Completed 200 OK in 120ms (Views: 118.0ms | ActiveRecord: 0.0ms)
|
|
17153
|
+
---------------------------------------
|
|
17154
|
+
AudioTest: test_inavlid_file_assignment
|
|
17155
|
+
---------------------------------------
|
|
17156
|
+
[1m[36mSavepoint (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17157
|
+
[1m[35mSavepoint (1.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17158
|
+
----------------------------------
|
|
17159
|
+
AudioTest: test_no_file_assignment
|
|
17160
|
+
----------------------------------
|
|
17161
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17162
|
+
[1m[35mSavepoint (1.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17163
|
+
-----------------------------------------
|
|
17164
|
+
AudioTest: test_too_large_file_assignment
|
|
17165
|
+
-----------------------------------------
|
|
17166
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17167
|
+
[1m[35mSavepoint (1.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17168
|
+
-----------------------------------------
|
|
17169
|
+
AudioTest: test_too_small_file_assignment
|
|
17170
|
+
-----------------------------------------
|
|
17171
|
+
[1m[36mSavepoint (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17172
|
+
[1m[35mSavepoint (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17173
|
+
-----------------------------------------
|
|
17174
|
+
AudioTest: test_undefined_file_assignment
|
|
17175
|
+
-----------------------------------------
|
|
17176
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17177
|
+
[1m[35mSavepoint (1.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17178
|
+
-------------------------------------
|
|
17179
|
+
AudioTest: test_valid_file_assignment
|
|
17180
|
+
-------------------------------------
|
|
17181
|
+
[1m[36mSavepoint (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17182
|
+
[attached] save attached
|
|
17183
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES ('2014-05-14 16:23:59.657000', '.wav', 'de5a8bbe-292b-49b8-8fdd-b84dc78be9dc', 1055276, '2014-05-14 16:23:59.657000')
|
|
17184
|
+
[1m[36mSavepoint (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17185
|
+
---------------------------------------
|
|
17186
|
+
ImageTest: test_inavlid_file_assignment
|
|
17187
|
+
---------------------------------------
|
|
17188
|
+
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
|
17189
|
+
[1m[36mSavepoint (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17190
|
+
----------------------------------
|
|
17191
|
+
ImageTest: test_no_file_assignment
|
|
17192
|
+
----------------------------------
|
|
17193
|
+
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
|
17194
|
+
[1m[36mSavepoint (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17195
|
+
-----------------------------------------
|
|
17196
|
+
ImageTest: test_too_large_file_assignment
|
|
17197
|
+
-----------------------------------------
|
|
17198
|
+
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
|
17199
|
+
[1m[36mSavepoint (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17200
|
+
-----------------------------------------
|
|
17201
|
+
ImageTest: test_too_small_file_assignment
|
|
17202
|
+
-----------------------------------------
|
|
17203
|
+
[1m[35mSavepoint (2.0ms)[0m SAVEPOINT active_record_1
|
|
17204
|
+
[1m[36mSavepoint (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17205
|
+
-----------------------------------------
|
|
17206
|
+
ImageTest: test_undefined_file_assignment
|
|
17207
|
+
-----------------------------------------
|
|
17208
|
+
[1m[35mSavepoint (0.0ms)[0m SAVEPOINT active_record_1
|
|
17209
|
+
[1m[36mSavepoint (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17210
|
+
-------------------------------------
|
|
17211
|
+
ImageTest: test_valid_file_assignment
|
|
17212
|
+
-------------------------------------
|
|
17213
|
+
[1m[35mSavepoint (1.0ms)[0m SAVEPOINT active_record_1
|
|
17214
|
+
[attached] save attached
|
|
17215
|
+
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES ('2014-05-14 16:24:00.222000', '.png', 'c16a1f6f-014a-4d4f-aed3-1846e12349eb', 399085, '2014-05-14 16:24:00.222000')[0m
|
|
17216
|
+
[1m[35mSavepoint (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17217
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
17219
|
+
---------------------------------------
|
|
17220
|
+
AttachedTest: test_attached_is_a_module
|
|
17221
|
+
---------------------------------------
|
|
17222
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17224
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "audios"[0m
|
|
17225
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 17:26:29', '2014-05-14 17:26:29', 410859157)
|
|
17226
|
+
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "images"[0m
|
|
17227
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 17:26:29', '2014-05-14 17:26:29', 87884898)
|
|
17228
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
|
17229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17230
|
+
----------------------------------------------
|
|
17231
|
+
AudiosControllerTest: test_should_create_audio
|
|
17232
|
+
----------------------------------------------
|
|
17233
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17234
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17235
|
+
Processing by AudiosController#create as HTML
|
|
17236
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f9ed74931f8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/audio.wav20140514-23580-luu09g>>}}
|
|
17237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17238
|
+
[attached] save attached
|
|
17239
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 17:26:29.815123"], ["file_extension", ".wav"], ["file_identifier", "828531f1-a38d-4406-b147-1a01cff06a67"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", "2014-05-14 17:26:29.815123"]]
|
|
17240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17241
|
+
Redirected to http://test.host/audios/410859158
|
|
17242
|
+
Completed 302 Found in 522ms (ActiveRecord: 0.4ms)
|
|
17243
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17244
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
17245
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
17246
|
+
-----------------------------------------------
|
|
17247
|
+
AudiosControllerTest: test_should_destroy_audio
|
|
17248
|
+
-----------------------------------------------
|
|
17249
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17250
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
17251
|
+
Processing by AudiosController#destroy as HTML
|
|
17252
|
+
Parameters: {"id"=>"410859157"}
|
|
17253
|
+
[1m[36mAudio Load (0.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
17255
|
+
[attached] destroy attached
|
|
17256
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
17257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17258
|
+
Redirected to http://test.host/audios
|
|
17259
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
|
17260
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audios"[0m
|
|
17261
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
17262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17263
|
+
------------------------------------------
|
|
17264
|
+
AudiosControllerTest: test_should_get_edit
|
|
17265
|
+
------------------------------------------
|
|
17266
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
17267
|
+
Processing by AudiosController#edit as HTML
|
|
17268
|
+
Parameters: {"id"=>"410859157"}
|
|
17269
|
+
[1m[36mAudio Load (0.0ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17270
|
+
Rendered audios/_form.html.haml (9.2ms)
|
|
17271
|
+
Completed 200 OK in 144ms (Views: 143.6ms | ActiveRecord: 0.0ms)
|
|
17272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17274
|
+
-------------------------------------------
|
|
17275
|
+
AudiosControllerTest: test_should_get_index
|
|
17276
|
+
-------------------------------------------
|
|
17277
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
17278
|
+
Processing by AudiosController#index as HTML
|
|
17279
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios"[0m
|
|
17280
|
+
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms)
|
|
17281
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17283
|
+
-----------------------------------------
|
|
17284
|
+
AudiosControllerTest: test_should_get_new
|
|
17285
|
+
-----------------------------------------
|
|
17286
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
17287
|
+
Processing by AudiosController#new as HTML
|
|
17288
|
+
Rendered audios/_form.html.haml (1.9ms)
|
|
17289
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
17290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
17291
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17292
|
+
--------------------------------------------
|
|
17293
|
+
AudiosControllerTest: test_should_show_audio
|
|
17294
|
+
--------------------------------------------
|
|
17295
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17296
|
+
Processing by AudiosController#show as HTML
|
|
17297
|
+
Parameters: {"id"=>"410859157"}
|
|
17298
|
+
[1m[35mAudio Load (0.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
17299
|
+
Completed 200 OK in 37ms (Views: 35.9ms | ActiveRecord: 0.0ms)
|
|
17300
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
17301
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17302
|
+
----------------------------------------------
|
|
17303
|
+
AudiosControllerTest: test_should_update_audio
|
|
17304
|
+
----------------------------------------------
|
|
17305
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
17306
|
+
Processing by AudiosController#update as HTML
|
|
17307
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 17:26:29 UTC", "updated_at"=>"2014-05-14 17:26:29 UTC"}, "id"=>"410859157"}
|
|
17308
|
+
[1m[35mAudio Load (0.0ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
17309
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
17310
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17311
|
+
[attached] save attached
|
|
17312
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17313
|
+
Redirected to http://test.host/audios/410859157
|
|
17314
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
|
17315
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17317
|
+
----------------------------------------------
|
|
17318
|
+
ImagesControllerTest: test_should_create_image
|
|
17319
|
+
----------------------------------------------
|
|
17320
|
+
[1m[36mImage Load (0.2ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17321
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
17322
|
+
Processing by ImagesController#create as HTML
|
|
17323
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f9ed91673d8 @content_type="image/png", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/8p/ghlgmj4s63950tbfyvh3s2d40000gn/T/image.png20140514-23580-1nrh7d4>>}}
|
|
17324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17325
|
+
[attached] save attached
|
|
17326
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 17:26:30.212945"], ["file_extension", ".png"], ["file_identifier", "51dd191f-df09-4844-af87-2c59735cc8ca"], ["file_size", 399085], ["name", "Image"], ["updated_at", "2014-05-14 17:26:30.212945"]]
|
|
17327
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
17329
|
+
[attached] save attached
|
|
17330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17331
|
+
Redirected to http://test.host/images/87884899
|
|
17332
|
+
Completed 302 Found in 147ms (ActiveRecord: 0.5ms)
|
|
17333
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
17334
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
17335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
17336
|
+
-----------------------------------------------
|
|
17337
|
+
ImagesControllerTest: test_should_destroy_image
|
|
17338
|
+
-----------------------------------------------
|
|
17339
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17340
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
17341
|
+
Processing by ImagesController#destroy as HTML
|
|
17342
|
+
Parameters: {"id"=>"87884898"}
|
|
17343
|
+
[1m[36mImage Load (0.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
17345
|
+
[attached] destroy attached
|
|
17346
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "images" WHERE "images"."id" = ?[0m [["id", 87884898]]
|
|
17347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17348
|
+
Redirected to http://test.host/images
|
|
17349
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
17350
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "images"[0m
|
|
17351
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
17352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17353
|
+
------------------------------------------
|
|
17354
|
+
ImagesControllerTest: test_should_get_edit
|
|
17355
|
+
------------------------------------------
|
|
17356
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
17357
|
+
Processing by ImagesController#edit as HTML
|
|
17358
|
+
Parameters: {"id"=>"87884898"}
|
|
17359
|
+
[1m[36mImage Load (0.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17360
|
+
Rendered images/_form.html.haml (3.2ms)
|
|
17361
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
|
17362
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
17363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17364
|
+
-------------------------------------------
|
|
17365
|
+
ImagesControllerTest: test_should_get_index
|
|
17366
|
+
-------------------------------------------
|
|
17367
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
17368
|
+
Processing by ImagesController#index as HTML
|
|
17369
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images"[0m
|
|
17370
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
|
17371
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
17372
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
17373
|
+
-----------------------------------------
|
|
17374
|
+
ImagesControllerTest: test_should_get_new
|
|
17375
|
+
-----------------------------------------
|
|
17376
|
+
[1m[35mImage Load (0.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
17377
|
+
Processing by ImagesController#new as HTML
|
|
17378
|
+
Rendered images/_form.html.haml (1.6ms)
|
|
17379
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
|
17380
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
17381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
17382
|
+
--------------------------------------------
|
|
17383
|
+
ImagesControllerTest: test_should_show_image
|
|
17384
|
+
--------------------------------------------
|
|
17385
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17386
|
+
Processing by ImagesController#show as HTML
|
|
17387
|
+
Parameters: {"id"=>"87884898"}
|
|
17388
|
+
[1m[35mImage Load (0.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
17389
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
17390
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
17391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17392
|
+
----------------------------------------------
|
|
17393
|
+
ImagesControllerTest: test_should_update_image
|
|
17394
|
+
----------------------------------------------
|
|
17395
|
+
[1m[36mImage Load (0.0ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
17396
|
+
Processing by ImagesController#update as HTML
|
|
17397
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 17:26:29 UTC", "updated_at"=>"2014-05-14 17:26:29 UTC"}, "id"=>"87884898"}
|
|
17398
|
+
[1m[35mImage Load (0.0ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
17399
|
+
Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at
|
|
17400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17401
|
+
[attached] save attached
|
|
17402
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17403
|
+
Redirected to http://test.host/images/87884898
|
|
17404
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
|
17405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
17406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17407
|
+
-----------------------------------------
|
|
17408
|
+
MainControllerTest: test_should_get_index
|
|
17409
|
+
-----------------------------------------
|
|
17410
|
+
Processing by MainController#index as HTML
|
|
17411
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
17412
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17414
|
+
---------------------------------------
|
|
17415
|
+
AudioTest: test_inavlid_file_assignment
|
|
17416
|
+
---------------------------------------
|
|
17417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17418
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17419
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17421
|
+
----------------------------------
|
|
17422
|
+
AudioTest: test_no_file_assignment
|
|
17423
|
+
----------------------------------
|
|
17424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17425
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17428
|
+
-----------------------------------------
|
|
17429
|
+
AudioTest: test_too_large_file_assignment
|
|
17430
|
+
-----------------------------------------
|
|
17431
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17432
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17435
|
+
-----------------------------------------
|
|
17436
|
+
AudioTest: test_too_small_file_assignment
|
|
17437
|
+
-----------------------------------------
|
|
17438
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17439
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17442
|
+
-----------------------------------------
|
|
17443
|
+
AudioTest: test_undefined_file_assignment
|
|
17444
|
+
-----------------------------------------
|
|
17445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17446
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
17447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
17448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
17449
|
+
-------------------------------------
|
|
17450
|
+
AudioTest: test_valid_file_assignment
|
|
17451
|
+
-------------------------------------
|
|
17452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
17453
|
+
[attached] save attached
|
|
17454
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 17:26:30.806439"], ["file_extension", ".wav"], ["file_identifier", "d7a777c2-ce13-4dc3-a401-ac81b469734f"], ["file_size", 1055276], ["updated_at", "2014-05-14 17:26:30.806439"]]
|
|
17455
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
17456
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
17457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
17458
|
+
---------------------------------------
|
|
17459
|
+
ImageTest: test_inavlid_file_assignment
|
|
17460
|
+
---------------------------------------
|
|
17461
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
17462
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17463
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17465
|
+
----------------------------------
|
|
17466
|
+
ImageTest: test_no_file_assignment
|
|
17467
|
+
----------------------------------
|
|
17468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
17469
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17470
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
17471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17472
|
+
-----------------------------------------
|
|
17473
|
+
ImageTest: test_too_large_file_assignment
|
|
17474
|
+
-----------------------------------------
|
|
17475
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
17476
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17477
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
17479
|
+
-----------------------------------------
|
|
17480
|
+
ImageTest: test_too_small_file_assignment
|
|
17481
|
+
-----------------------------------------
|
|
17482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
17483
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17484
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17486
|
+
-----------------------------------------
|
|
17487
|
+
ImageTest: test_undefined_file_assignment
|
|
17488
|
+
-----------------------------------------
|
|
17489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
17490
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
17491
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
17492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
17493
|
+
-------------------------------------
|
|
17494
|
+
ImageTest: test_valid_file_assignment
|
|
17495
|
+
-------------------------------------
|
|
17496
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
17497
|
+
[attached] save attached
|
|
17498
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-05-14 17:26:31.014550"], ["file_extension", ".png"], ["file_identifier", "26ce2974-85cf-422b-a5c5-40d81f11dc42"], ["file_size", 399085], ["updated_at", "2014-05-14 17:26:31.014550"]]
|
|
17499
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17500
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|