Merge branch 'develop' of bitbucket.org:jamkazam/jam-cloud into develop
This commit is contained in:
commit
9c17d9a024
|
|
@ -172,8 +172,8 @@ describe 'Musician Search Model' do
|
|||
end
|
||||
|
||||
it "gets expected number of users" do
|
||||
instjson = [{ id: Instrument.first.id, level: 2 },
|
||||
{ id: Instrument.first(2)[1].id, level: 2 }
|
||||
instjson = [{ instrument_id: Instrument.first.id, proficiency_level: 2 },
|
||||
{ instrument_id: Instrument.first(2)[1].id, proficiency_level: 2 }
|
||||
]
|
||||
search.update_json_value(MusicianSearch::KEY_INSTRUMENTS, instjson)
|
||||
expect(search.do_search.count).to eq(3)
|
||||
|
|
|
|||
Loading…
Reference in New Issue