Guest User

Untitled

a guest
Mar 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. 1)
  2. Spec::Mocks::MockExpectationError in 'AudioFilesController POST :create when unsuccessful should initialize a audio_file'
  3. Mock 'Class' expected :new with ({:filename=>"foo", :content_type=>"foo", :size=>815}) but received it with ({"content_type"=>"foo", "size"=>815, "filename"=>"foo"})
  4. /Users/dpetersen/rails/music/music_rails/vendor/plugins/skinny_spec/lib/lucky_sneaks/controller_spec_helpers.rb:55:in `create_ar_class_expectation'
  5. script/spec:4:
  6.  
  7. 2)
  8. Spec::Mocks::MockExpectationError in 'AudioFilesController POST :create when successful should initialize a audio_file'
  9. Mock 'Class' expected :new with ({:filename=>"foo", :content_type=>"foo", :size=>815}) but received it with ({"content_type"=>"foo", "size"=>815, "filename"=>"foo"})
  10. /Users/dpetersen/rails/music/music_rails/vendor/plugins/skinny_spec/lib/lucky_sneaks/controller_spec_helpers.rb:55:in `create_ar_class_expectation'
  11. script/spec:4:
  12.  
  13. Finished in 0.484781 seconds
  14.  
  15. 32 examples, 2 failures
Add Comment
Please, Sign In to add comment