VRFS-3036 description testing
This commit is contained in:
parent
0691e079af
commit
d099ca039d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue