summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-18 16:14:12 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-18 16:14:12 +0100
commitf4f4a6b5303a0889f3fdb1bfe0bb014a6788c4d6 (patch)
tree5db5d07a749d974d1afeb5050a9157112a1d687b /features
parent0ac57a540d245a24219519c4093d15b8ab2f536c (diff)
downloadgitlab-ce-f4f4a6b5303a0889f3fdb1bfe0bb014a6788c4d6.tar.gz
Fix specs and behavior for LFS files
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/browse_files.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index da8a07c2b4a..4962b68b8f2 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -253,7 +253,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
step 'I am redirected to the root directory' do
expect(current_path).to eq(
- namespace_project_tree_path(@project.namespace, @project, 'master/'))
+ namespace_project_tree_path(@project.namespace, @project, 'master'))
end
step "I don't see the permalink link" do
@@ -332,8 +332,8 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
expect(page).to have_content 'Permalink'
expect(page).not_to have_content 'Edit'
expect(page).not_to have_content 'Blame'
- expect(page).not_to have_content 'Delete'
- expect(page).not_to have_content 'Replace'
+ expect(page).to have_content 'Delete'
+ expect(page).to have_content 'Replace'
end
private