Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby & we

Olivier Lacan
February 11, 2016

Ruby & we

How contributing to community projects like rubygems.org can help you overcome your fears and become a better Ruby developer.

Video of the talk is available here: https://vimeo.com/155107107

Olivier Lacan

February 11, 2016
Tweet

More Decks by Olivier Lacan

Other Decks in Technology

Transcript

  1. context '(…) with a single exact match' do setup do

    @sinatra = create(:rubygem, :name => "sinatra") create(:version, :rubygem => @sinatra) get :show, :query => "sinatra" end should respond_with :redirect should redirect_to('the gem') { rubygem_path(@sinatra) } end
  2. " This makes it impossible to perform certain searches. For

    example, if a user wanted to search for all the gems with the omniauth prefix, this would no longer be possible because the omniauth gem exists.
  3. Are you sure? it seems to redirect only if there

    is only 1 element in the original search result array
  4. Finished in 52.023608s, 
 17.0884 runs/s, 
 32.1008 assertions/s. 889

    runs, 1670 assertions, 
 0 failures, 0 errors, 5 skips