diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-05-16 21:42:06 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-05-16 21:42:06 +0300 |
commit | b8b6de4c759ba85caaf7ff4ea26abceeba23bcf4 (patch) | |
tree | 4665f19d1180e2c72e40dd8fc6a053fd26a56976 /spec/features | |
parent | dc045dab8f41cdd580268837bac41277a2290b40 (diff) |
Make `gfm_auto_complete` into a module and fix up tech debt
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/gfm_autocomplete_load_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/gfm_autocomplete_load_spec.rb b/spec/features/projects/gfm_autocomplete_load_spec.rb index dd9622f16a0..67bc9142356 100644 --- a/spec/features/projects/gfm_autocomplete_load_spec.rb +++ b/spec/features/projects/gfm_autocomplete_load_spec.rb @@ -10,7 +10,7 @@ describe 'GFM autocomplete loading', feature: true, js: true do end it 'does not load on project#show' do - expect(evaluate_script('gl.GfmAutoComplete.dataSources')).to eq({}) + expect(evaluate_script('gl.GfmAutoComplete')).to eq(nil) end it 'loads on new issue page' do |