Commit 0235c2a7f3d9424cff075ea366b8f4990824e1db

Authored by Dmitriy Zaporozhets
1 parent c2c11e65

Fix feature test

features/steps/project/project_forked_merge_requests.rb
... ... @@ -175,10 +175,9 @@ class ProjectForkedMergeRequests < Spinach::FeatureSteps
175 175 @project ||= Project.find_by_name!("Shop")
176 176 end
177 177  
178   - #Verify a link is generated against the correct project
  178 + # Verify a link is generated against the correct project
179 179 def verify_commit_link(container_div, container_project)
180   - #This should force a wait for the javascript to execute
181   - find(:div,container_div).should have_css ".browse_code_link_holder"
  180 + # This should force a wait for the javascript to execute
182 181 find(:div,container_div).find(".commit_short_id")['href'].should have_content "#{container_project.path_with_namespace}/commit"
183 182 end
184 183 end
... ...