mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 03:56:05 +10:00
Fix network tests. Removed console.log
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph
|
||||
x(d.date)
|
||||
).y0(@height).y1((d) ->
|
||||
xa = d.commits = d.commits ? d.additions ? d.deletions
|
||||
console.log(xa)
|
||||
y(xa)
|
||||
).interpolate("basis")
|
||||
create_brush: ->
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.col-sm-2
|
||||
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
|
||||
.col-sm-10
|
||||
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline' do |f|
|
||||
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f|
|
||||
= label_tag :search , "Looking for", class: 'light inline-label'
|
||||
= text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input form-control input-mx-250"
|
||||
= button_tag type: 'submit', class: 'btn btn-success' do
|
||||
|
||||
@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
|
||||
end
|
||||
|
||||
When 'I looking for a commit by SHA of "v2.1.0"' do
|
||||
within ".content .search" do
|
||||
within ".network-form" do
|
||||
fill_in 'extended_sha1', with: '98d6492'
|
||||
find('button').click
|
||||
end
|
||||
@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
|
||||
end
|
||||
|
||||
When 'I look for a commit by ";"' do
|
||||
within ".content .search" do
|
||||
within ".network-form" do
|
||||
fill_in 'extended_sha1', with: ';'
|
||||
find('button').click
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user