summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/show.rb')
-rw-r--r--qa/qa/page/project/show.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb
index c7e7ece792d..5bbef040330 100644
--- a/qa/qa/page/project/show.rb
+++ b/qa/qa/page/project/show.rb
@@ -38,11 +38,7 @@ module QA
end
def repository_location
- find('#project_clone').value
- end
-
- def repository_location_uri
- Git::Location.new(repository_location)
+ Git::Location.new(find('#project_clone').value)
end
def project_name
@@ -91,7 +87,7 @@ module QA
end
# Ensure git clone textbox was updated
- repository_location.include?(detect_text)
+ repository_location.git_uri.include?(detect_text)
end
end
end