view · edit · sidebar · attach · print · history

20110420-testcases-oddb_org

<< | Index | >>


  1. Update testcases

Goal/Estimate/Evaluation
  • Testcases / 85% / 84.62%
Milestones
  • Update testcases
    1. src/view/notify.rb (coverage: 100%) 9:15
    2. src/view/drugs/price_history.rb (coverage: 100%) 10:30
    3. src/view/paypal/return.rb (coverage: 100%) 12:00
    4. src/view/admin/patent.rb (coverage: 100%) 13:45
    5. src/state/drugs/result.rb (coverage: 98.41%) 15:30
    6. src/model/composition.rb (coverage: 100%)
Summary
Commits

Memo (src/state/drugs/result.rb)

def search
    query = @session.persistent_user_input(:search_query).to_s.downcase
    stype = @session.user_input(:search_type)
    if(@search_type != stype || @search_query != query)
      super
    else
      @request_path = @session.request_path
      self
    end
end

Note

  • The 'super' is not defined, in other words, 'search' method in the super class is not defined
view · edit · sidebar · attach · print · history
Page last modified on April 21, 2011, at 08:10 AM