search for: kid_spec

Displaying 1 result from an estimated 1 matches for "kid_spec".

Did you mean: add_spec
2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
...rof:19:in `load'' from /usr/bin/ruby-prof:19 My setup is the following: I have a script RAILS_ROOT/twospecs.rb that contains the following: $LOAD_PATH.unshift( "/Users/myusername/code/mycompany/www/spec" ) files_to_run = ["spec/models/user_spec.rb", "spec/models/kid_spec.rb"] files_to_run.map {|f| load File.expand_path(f) } Then I run it with ruby-prof: ruby-prof twospecs.rb The gem versions I''m using are: bundle show rspec /Library/Ruby/Gems/1.8/gems/rspec-2.6.0 bundle show ruby-prof /Library/Ruby/Gems/1.8/gems/ruby-prof-0.10.8 bundle show rai...