Skip to content

Instantly share code, notes, and snippets.

@parndt
Created April 23, 2012 05:51
Show Gist options
  • Save parndt/2469021 to your computer and use it in GitHub Desktop.
Save parndt/2469021 to your computer and use it in GitHub Desktop.
$ cat ~/.bash_profile | grep bert
alias bert='JS=false bundle exec rspec ./*/spec && JS=true bundle exec rspec ./*/spec'
17:49:35: [master|1.9.3p194] /code/parndt/refinerycms$ bert
Run options: include {:focus=>true}
...............................................................................................................................................................................................................................................................................................................................................................................................................
Top 10 slowest examples:
Pages with translations add a page with title for both locales succeeds
0.92132 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:355
User admin page new/create can create a user
0.56348 seconds ./authentication/spec/requests/refinery/admin/users_spec.rb:17
Resources new/create max file size in danish is shown
0.50131 seconds ./resources/spec/requests/refinery/admin/resources_spec.rb:56
Refinery::Admin::UsersController#new renders the new template
0.50038 seconds ./authentication/spec/controllers/refinery/admin/users_controller_spec.rb:22
TranslatePages add page to second locale succeeds
0.49361 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:569
Pages with translations add a page with title only for secondary locale succeeds
0.4871 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:436
AdminImages when an image exists edit/update updates image
0.40807 seconds ./images/spec/requests/refinery/admin/images_spec.rb:50
Pages with translations add a page with title for default locale shows in frontend menu for 'en' locale
0.39997 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:316
Pages with translations add a page with title for default locale succeeds
0.39447 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:296
Pages with translations add a page with title for default locale shows title in the admin menu
0.38129 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:308
Finished in 28.08 seconds
399 examples, 0 failures
Run options: include {:js=>true, :focus=>true}
/Users/parndt/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.0/lib/execjs/external_runtime.rb:32:in `call': [DEPRECATION] MultiJson.encode is deprecated and will be removed in the next major version. Use MultiJson.dump instead.
/Users/parndt/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.0/lib/execjs/external_runtime.rb:18:in `eval': [DEPRECATION] MultiJson.encode is deprecated and will be removed in the next major version. Use MultiJson.dump instead.
/Users/parndt/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.0/lib/execjs/external_runtime.rb:61:in `extract_result': [DEPRECATION] MultiJson.decode is deprecated and will be removed in the next major version. Use MultiJson.load instead.
.........
Top 9 slowest examples:
AdminImages new/create uploads image
7.37 seconds ./images/spec/requests/refinery/admin/images_spec.rb:21
Pages Previewing an existing page will show the preview changes in a new window
2.82 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:174
Pages Previewing a brand new page will not save when just previewing
2.75 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:199
Resources new/create uploads file
2.71 seconds ./resources/spec/requests/refinery/admin/resources_spec.rb:24
Pages new page part adds new page part
2.67 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:498
Pages Previewing an existing page will not save the preview changes
2.57 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:184
Pages Previewing a nested page works like an un-nested page
2.34 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:216
Pages action links when sub pages exist with auto expand option turned off expands children
1.31 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:84
Pages action links when sub pages exist with auto expand option turned off expands children when nested mutliple levels deep
1.03 seconds ./pages/spec/requests/refinery/admin/pages_spec.rb:91
Finished in 25.6 seconds
9 examples, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment