Commit 6cf6b45adca4ac4dfc3d2e3511e81d6ace427ce9

Authored by Dmitriy Zaporozhets
1 parent 88deb221

Fix snippets test

features/steps/project/project_snippets.rb
... ... @@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps
42 42 end
43 43  
44 44 And 'I click link "Edit"' do
45   - within ".page_title" do
  45 + within ".file_title" do
46 46 click_link "Edit"
47 47 end
48 48 end
... ...
features/steps/snippets/snippets.rb
... ... @@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps
13 13 end
14 14  
15 15 And 'I click link "Edit"' do
16   - within ".page_title" do
  16 + within ".file_title" do
17 17 click_link "Edit"
18 18 end
19 19 end
... ...