VRFS-3036 description testing

This commit is contained in:
Jonathan Kolyer 2015-06-04 08:17:46 +00:00
parent 0691e079af
commit d099ca039d
1 changed files with 2 additions and 2 deletions

View File

@ -215,8 +215,8 @@ describe 'Band Search Model' do
end
it "filters by band_type" do
band.update_attribute(:band_type, BandSearch::SKILL_VAL_STRS[1])
filter[BandSearch::KEY_BAND_TYPE] = BandSearch::SKILL_VAL_STRS[1]
band.update_attribute(:band_type, BandSearch::BAND_TYPE_VAL_STRS[1])
filter[BandSearch::KEY_BAND_TYPE] = BandSearch::BAND_TYPE_VAL_STRS[1]
search.search_results_page(BandSearch::TO_JOIN, filter)
expect(search.results.count).to eq(1)
expect(search.results[0].id).to eq(band.id)