diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-04 00:54:06 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-04 00:54:06 +0300 |
commit | 356e9aa81107efbc42c863210f1c760d8fabdb0c (patch) | |
tree | bdaf8c79f07e72ec403ad0225470281211826d8d /spec/features/projects/wiki | |
parent | f682cc189a38e6cbe6ee92a3327d6b865c42e84a (diff) | |
parent | 5a23af928e52350039f1db8eee97278d34d1f1b0 (diff) |
Merge branch 'master' into sh-headless-chrome-support
* master: (21 commits)
Fix bottom spacing for dropdowns that open upwards
Fix linting errors in sprintf
regression with product labels
Hide Gollum inside Gitlab::Git::Wiki
Restore User.from_gitaly
Added skeleton loading paradigm to UX guide
Remove those tests as they're not needed anymore
Resolve "Precompiled assets with digest strings are ignored in CI"
Make the `QA:Page::Project::Show` driver less brittle
Change index on ci_builds to optimize Jobs Controller
Add basic sprintf implementation to JavaScript
Expose GitLab features to the CI runner
Hide CI section markers from job trace
Freeze the constant array
Just allow the scheme we want!
Adapt to the latest addressable behaviour
Strip before passing to addressable, otherwise it's invalid
Make sure we didn't blow up if URI is invalid
Only update gems we need
ok
...
Diffstat (limited to 'spec/features/projects/wiki')
-rw-r--r-- | spec/features/projects/wiki/user_views_wiki_page_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/wiki/user_views_wiki_page_spec.rb b/spec/features/projects/wiki/user_views_wiki_page_spec.rb index 3c43bd6c3f1..7d07029ad9b 100644 --- a/spec/features/projects/wiki/user_views_wiki_page_spec.rb +++ b/spec/features/projects/wiki/user_views_wiki_page_spec.rb @@ -83,7 +83,7 @@ describe 'User views a wiki page' do it 'shows a file stored in a page' do file = Gollum::File.new(project.wiki) - allow_any_instance_of(Gollum::Wiki).to receive(:file).with('image.jpg', 'master', true).and_return(file) + allow_any_instance_of(Gollum::Wiki).to receive(:file).with('image.jpg', 'master').and_return(file) allow_any_instance_of(Gollum::File).to receive(:mime_type).and_return('image/jpeg') expect(page).to have_xpath('//img[@data-src="image.jpg"]') |