Created
March 28, 2011 18:21
-
-
Save DCarper/890967 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given a product_trial_with_pictures exists with active: true # features/step_definitions/pickle_steps.rb:4 | |
| Too many open files - /var/folders/68/68gISV62GsmvDwtoiDeSfU+++TQ/-Tmp-/dragonfly20110328-369-1shyiuf-0 (Errno::EMFILE) | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1262:in `initialize' | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1262:in `open' | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1262:in `copy_file' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Factory.define :product_trial_with_pictures, :parent => :product_trial do |f| | |
| f.thanks_postcard File.new("#{RAILS_ROOT}/spec/factories/external_mocks/2.jpg") | |
| f.hook_postcard File.new("#{RAILS_ROOT}/spec/factories/external_mocks/3.jpg") | |
| f.thanks_banner File.new("#{RAILS_ROOT}/spec/factories/external_mocks/4.jpg") | |
| f.hook_banner File.new("#{RAILS_ROOT}/spec/factories/external_mocks/5.jpg") | |
| f.signup_banner File.new("#{RAILS_ROOT}/spec/factories/external_mocks/6.jpg") | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment