Guest User

Untitled

a guest
Nov 23rd, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.59 KB | None | 0 0
  1. Failures:
  2.  
  3. 1) Api::ImagesController#edit persisted Group Profile real image valid image GET on edit should respond with success
  4. Failure/Error: get :edit, :id => @image.id
  5. ActionController::RoutingError:
  6. No route matches {:controller=>"api/images", :action=>"edit", :id=>nil}
  7. # ./spec/controllers/api/images_controller_spec.rb:26
  8.  
  9. 2) Api::ImagesController#edit persisted Group Profile real image valid image GET on edit should assign the profile
  10. Failure/Error: get :edit, :id => @image.id
  11. ActionController::RoutingError:
  12. No route matches {:controller=>"api/images", :action=>"edit", :id=>nil}
  13. # ./spec/controllers/api/images_controller_spec.rb:26
  14.  
  15. 3) Api::ImagesController#edit persisted Group Profile real image valid image GET on edit should assign the avatar
  16. Failure/Error: get :edit, :id => @image.id
  17. ActionController::RoutingError:
  18. No route matches {:controller=>"api/images", :action=>"edit", :id=>nil}
  19. # ./spec/controllers/api/images_controller_spec.rb:26
  20.  
  21. 4) ManageProfiles::ProfilesController#update for an IDU with a owned Profile should successful redirect with an image
  22. Failure/Error: Factory(:user_profile_image, :file => file, :attachable => @user_profile)
  23. ActiveRecord::RecordInvalid:
  24. Validation failed: File failed to be processed, File failed to be processed
  25. # ./spec/controllers/manage_profiles/profiles_controller_spec.rb:77
  26.  
  27. 5) Album images should delete the image if the flag is set to true
  28. Failure/Error: @album.image.file.file.should be_nil
  29. expected: nil
  30. got: #<CarrierWave::SanitizedFile:0x11aa63478 @content_type=nil, @original_filename=nil, @file="/Users/ad/Projects/ban-002/public/uploads/tmp/20110601-1824-10665-4759/avatar.jpg">
  31. # ./spec/models/album_spec.rb:84
  32.  
  33. 6) FactoryGirl a working factory for image should produce a useful resource
  34. Failure/Error: factory_blueprint.should be_valid
  35. expected valid? to return true, got false
  36. # ./spec/model_macros.rb:14:in `should_have_working_factory_for'
  37.  
  38. 7) FactoryGirl a working factory for group_profile_image should produce a useful resource
  39. Failure/Error: factory_blueprint.should be_valid
  40. expected valid? to return true, got false
  41. # ./spec/model_macros.rb:14:in `should_have_working_factory_for'
  42.  
  43. 8) FactoryGirl a working factory for user_profile_image should produce a useful resource
  44. Failure/Error: factory_blueprint.should be_valid
  45. expected valid? to return true, got false
  46. # ./spec/model_macros.rb:14:in `should_have_working_factory_for'
  47.  
  48. 9) GroupProfileImage image uploader should convert the image to jpeg
  49. Failure/Error: image.content_type.should == 'image/jpeg'
  50. expected: "image/jpeg"
  51. got: nil (using ==)
  52. # ./spec/models/group_profile_image_spec.rb:37
  53.  
  54. 10) GroupProfileImage image uploader should resize the file
  55. Failure/Error: @image.file.should be_no_larger_than(1024, 1024)
  56. MiniMagick::Error:
  57. Command ("identify -ping /var/folders/Yk/Yk1mUN2wEi4UAYD4eZhNE++++TM/-Tmp-/mini_magick20110601-10665-1q4brjb-0.jpg") failed: {:status_code=>127, :output=>"sh: identify: command not found\n"}
  58. # ./spec/models/group_profile_image_spec.rb:55
  59.  
  60. 11) GroupProfileImage image uploader should scale down an mini image to be exactly 22 by 22 pixels
  61. Failure/Error: @image.file.mini.should have_dimensions(22, 22)
  62. Errno::ENOENT:
  63. No such file or directory -
  64. # ./spec/models/group_profile_image_spec.rb:59
  65.  
  66. 12) GroupProfileImage image uploader should scale down an small image to be exactly 28 by 28 pixels
  67. Failure/Error: @image.file.small.should have_dimensions(35, 35)
  68. Errno::ENOENT:
  69. No such file or directory -
  70. # ./spec/models/group_profile_image_spec.rb:63
  71.  
  72. 13) GroupProfileImage image uploader should scale down an thumbnail image to be exactly 55 by 55 pixels
  73. Failure/Error: @image.file.thumbnail.should have_dimensions(55, 55)
  74. Errno::ENOENT:
  75. No such file or directory -
  76. # ./spec/models/group_profile_image_spec.rb:67
  77.  
  78. 14) GroupProfileImage image uploader should scale down an icon image to be exactly 110 by 110 pixels
  79. Failure/Error: @image.file.icon.should have_dimensions(110, 110)
  80. Errno::ENOENT:
  81. No such file or directory -
  82. # ./spec/models/group_profile_image_spec.rb:71
  83.  
  84. 15) GroupProfileImage image uploader should scale down an display image to be exactly 585 by 280 pixels
  85. Failure/Error: @image.file.display.should have_dimensions(585, 280)
  86. Errno::ENOENT:
  87. No such file or directory -
  88. # ./spec/models/group_profile_image_spec.rb:75
  89.  
  90. 16) Image image uploader should set the content_type
  91. Failure/Error: @image.content_type.should == 'image/jpeg'
  92. expected: "image/jpeg"
  93. got: nil (using ==)
  94. # ./spec/models/image_spec.rb:35
  95.  
  96. 17) Image image uploader resizing should resize the file
  97. Failure/Error: @image.file.should have_dimensions(1024, 1024)
  98. MiniMagick::Error:
  99. Command ("identify -ping /var/folders/Yk/Yk1mUN2wEi4UAYD4eZhNE++++TM/-Tmp-/mini_magick20110601-10665-1y3pcjr-0.jpg") failed: {:status_code=>127, :output=>"sh: identify: command not found\n"}
  100. # ./spec/models/image_spec.rb:66
  101.  
  102. 18) Image image uploader resizing should scale down an mini image to be exactly 22 by 22 pixels
  103. Failure/Error: @image.file.mini.should have_dimensions(22, 22)
  104. Errno::ENOENT:
  105. No such file or directory -
  106. # ./spec/models/image_spec.rb:70
  107.  
  108. 19) Image image uploader resizing should scale down an small image to be exactly 28 by 28 pixels
  109. Failure/Error: @image.file.small.should have_dimensions(28, 28)
  110. Errno::ENOENT:
  111. No such file or directory -
  112. # ./spec/models/image_spec.rb:74
  113.  
  114. 20) Image image uploader resizing should scale down an thumbnail image to be exactly 55 by 55 pixels
  115. Failure/Error: @image.file.thumbnail.should have_dimensions(55, 55)
  116. Errno::ENOENT:
  117. No such file or directory -
  118. # ./spec/models/image_spec.rb:78
  119.  
  120. 21) Image image uploader resizing should scale down an icon image to be exactly 110 by 110 pixels
  121. Failure/Error: @image.file.icon.should have_dimensions(110, 110)
  122. Errno::ENOENT:
  123. No such file or directory -
  124. # ./spec/models/image_spec.rb:82
  125.  
  126. 22) Playlist images should delete the image if the flag is set to true
  127. Failure/Error: @playlist.image.file.file.should be_nil
  128. expected: nil
  129. got: #<CarrierWave::SanitizedFile:0x11a4bfd78 @content_type=nil, @original_filename=nil, @file="/Users/ad/Projects/ban-002/public/uploads/tmp/20110601-1825-10665-6860/avatar.jpg">
  130. # ./spec/models/playlist_spec.rb:48
  131.  
  132. 23) Song images should delete the image if the flag is set to true
  133. Failure/Error: @song.image.file.file.should be_nil
  134. expected: nil
  135. got: #<CarrierWave::SanitizedFile:0x11a216518 @content_type=nil, @original_filename=nil, @file="/Users/ad/Projects/ban-002/public/uploads/tmp/20110601-1825-10665-6757/avatar.jpg">
  136. # ./spec/models/song_spec.rb:262
  137.  
  138. 24) UserProfileImage image uploader should convert the image to jpeg
  139. Failure/Error: image.content_type.should == 'image/jpeg'
  140. expected: "image/jpeg"
  141. got: nil (using ==)
  142. # ./spec/models/user_profile_image_spec.rb:37
  143.  
  144. 25) UserProfileImage image uploader should resize the file
  145. Failure/Error: @image.file.should be_no_larger_than(1024, 1024)
  146. MiniMagick::Error:
  147. Command ("identify -ping /var/folders/Yk/Yk1mUN2wEi4UAYD4eZhNE++++TM/-Tmp-/mini_magick20110601-10665-1h22a5l-0.jpg") failed: {:status_code=>127, :output=>"sh: identify: command not found\n"}
  148. # ./spec/models/user_profile_image_spec.rb:55
  149.  
  150. 26) UserProfileImage image uploader should scale down an mini image to be exactly 22 by 22 pixels
  151. Failure/Error: @image.file.mini.should have_dimensions(22, 22)
  152. Errno::ENOENT:
  153. No such file or directory -
  154. # ./spec/models/user_profile_image_spec.rb:59
  155.  
  156. 27) UserProfileImage image uploader should scale down an small image to be exactly 35 by 35 pixels
  157. Failure/Error: @image.file.small.should have_dimensions(35, 35)
  158. Errno::ENOENT:
  159. No such file or directory -
  160. # ./spec/models/user_profile_image_spec.rb:63
  161.  
  162. 28) UserProfileImage image uploader should scale down an thumbnail image to be exactly 55 by 55 pixels
  163. Failure/Error: @image.file.thumbnail.should have_dimensions(55, 55)
  164. Errno::ENOENT:
  165. No such file or directory -
  166. # ./spec/models/user_profile_image_spec.rb:67
  167.  
  168. 29) UserProfileImage image uploader should scale down an icon image to be exactly 110 by 110 pixels
  169. Failure/Error: @image.file.icon.should have_dimensions(110, 110)
  170. Errno::ENOENT:
  171. No such file or directory -
  172. # ./spec/models/user_profile_image_spec.rb:71
  173.  
  174. 30) UserProfileImage image uploader should scale down an display image to be exactly 267 by 280 pixels
  175. Failure/Error: @image.file.display.should have_dimensions(267, 280)
  176. Errno::ENOENT:
  177. No such file or directory -
  178. # ./spec/models/user_profile_image_spec.rb:75
  179.  
  180. 31) MANAGE_PROFILE::PROFILES#EDIT As an IDU
  181. I want to manage my profile
  182. So that it is up to date with my personal information Navigate to 'manage profile' dialogue Should assign attributes to user when submitted
  183. Failure/Error: fill_in "profile_color_start", :with => "#FFFFFF"
  184. Capybara::ElementNotFound:
  185. cannot fill in, no text field, text area or password field with id, name, or label 'profile_color_start' found
  186. # (eval):2:in `send'
  187. # (eval):2:in `fill_in'
  188. # ./spec/requests/manage_profile/edit_spec.rb:33
  189.  
  190. 32) SIGNUP::USER_PROFILE As an IDU_light
  191. I want to have a sign up form
  192. So that I can finalize my registration after upload of picture, should redirect to same page and show color picker
  193. Failure/Error: @user_profile.image = Factory(:user_profile_image, :attachable => @user_profile)
  194. ActiveRecord::RecordInvalid:
  195. Validation failed: File failed to be processed, File failed to be processed
  196. # ./spec/requests/sign_up/user_profile_spec.rb:42
  197.  
  198. 33) SIGNUP::USER_PROFILE As an IDU_light
  199. I want to have a sign up form
  200. So that I can finalize my registration with picture, colors and all attributes given, should redirect to next step
  201. Failure/Error: @user_profile.image = Factory(:user_profile_image, :attachable => @user_profile)
  202. ActiveRecord::RecordInvalid:
  203. Validation failed: File failed to be processed, File failed to be processed
  204. # ./spec/requests/sign_up/user_profile_spec.rb:56
Add Comment
Please, Sign In to add comment