This is what I did:
Video.stub!( :has_attached_file ).with( :name ).and_return( true ) has_attached_file is from paperclip, it gets mixed to the model. 1) RightAws::AwsError in 'VideosController should create a valid Video' AWS access keys are required to operate on S3 /Users/ngw/zooppa-4/app/controllers/videos_controller.rb:6:in `create' /Users/ngw/zooppa-4/spec/controllers/videos_controller_spec.rb:17: Maybe I missed something ? TIA, ngw
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users