diff options
| author | mo k <mo@mokhan.ca> | 2012-05-23 22:06:05 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-05-23 22:06:05 -0600 |
| commit | 3e4d50e86c7e86858eaf454c4f301941b7b335c8 (patch) | |
| tree | 5a32cbcab4fc19355d2b66a0e31edaf8d15bef36 /features | |
| parent | 7089633b44d8a77c65dc9c903cdc0e69dd17893c (diff) | |
save CachedScore to db.main
Diffstat (limited to 'features')
| -rw-r--r-- | features/step_definitions/search_steps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/search_steps.rb b/features/step_definitions/search_steps.rb index 67a1481..0b098fd 100644 --- a/features/step_definitions/search_steps.rb +++ b/features/step_definitions/search_steps.rb @@ -1,6 +1,6 @@ When /^I search for (.*)$/ do |term| @scores ||= {} - @scores[term] = RockScore.for_term(term) + @scores[term] = ScoreCache.for_term(term) end Then /^apple should have a higher score than microsoft$/ do |
