VRFS-3036 added performance sample test case

This commit is contained in:
Jonathan Kolyer 2015-06-10 16:36:58 +00:00
parent ebe620a3b3
commit 5d8ba22172
1 changed files with 4 additions and 0 deletions

View File

@ -293,6 +293,10 @@ describe 'Band Search Model' do
search.search_results_page(BandSearch::TO_HIRE, filter)
expect(search.results.count).to eq(0)
filter[BandSearch::KEY_PERF_SAMPLES] = BandSearch::VAL_NO
search.search_results_page(BandSearch::TO_HIRE, filter)
expect(search.results.count).to eq(Band.count)
ps = PerformanceSample.new
ps.player = band
ps.service_type = 'youtube'