Commit 9bf51ae4 authored by Marin Jankovski's avatar Marin Jankovski

Fix specs caused by update of gitlab-test repo.

parent bf17609e
...@@ -306,6 +306,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps ...@@ -306,6 +306,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end end
step 'I click on "files/lfs/lfs_object.iso" file in repo' do step 'I click on "files/lfs/lfs_object.iso" file in repo' do
visit namespace_project_tree_path(@project.namespace, @project, "lfs")
click_link 'files' click_link 'files'
click_link "lfs" click_link "lfs"
click_link "lfs_object.iso" click_link "lfs_object.iso"
......
...@@ -35,7 +35,7 @@ describe Projects::RawController do ...@@ -35,7 +35,7 @@ describe Projects::RawController do
end end
context 'lfs object' do context 'lfs object' do
let(:id) { 'master/files/lfs/lfs_object.iso' } let(:id) { 'be93687/files/lfs/lfs_object.iso' }
let!(:lfs_object) { create(:lfs_object, oid: '91eff75a492a3ed0dfcb544d7f31326bc4014c8551849c192fd1e48d4dd2c897', size: '1575078') } let!(:lfs_object) { create(:lfs_object, oid: '91eff75a492a3ed0dfcb544d7f31326bc4014c8551849c192fd1e48d4dd2c897', size: '1575078') }
context 'when project has access' do context 'when project has access' do
......
...@@ -12,7 +12,8 @@ module TestEnv ...@@ -12,7 +12,8 @@ module TestEnv
'fix' => '48f0be4', 'fix' => '48f0be4',
'improve/awesome' => '5937ac0', 'improve/awesome' => '5937ac0',
'markdown' => '0ed8c6c', 'markdown' => '0ed8c6c',
'master' => 'be93687', 'lfs' => 'be93687',
'master' => '5937ac0',
"'test'" => 'e56497b', "'test'" => 'e56497b',
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment