Commit 6cf6b45adca4ac4dfc3d2e3511e81d6ace427ce9
1 parent
88deb221
Exists in
master
and in
4 other branches
Fix snippets test
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
features/steps/project/project_snippets.rb
@@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps | @@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps | ||
42 | end | 42 | end |
43 | 43 | ||
44 | And 'I click link "Edit"' do | 44 | And 'I click link "Edit"' do |
45 | - within ".page_title" do | 45 | + within ".file_title" do |
46 | click_link "Edit" | 46 | click_link "Edit" |
47 | end | 47 | end |
48 | end | 48 | end |
features/steps/snippets/snippets.rb
@@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps | @@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps | ||
13 | end | 13 | end |
14 | 14 | ||
15 | And 'I click link "Edit"' do | 15 | And 'I click link "Edit"' do |
16 | - within ".page_title" do | 16 | + within ".file_title" do |
17 | click_link "Edit" | 17 | click_link "Edit" |
18 | end | 18 | end |
19 | end | 19 | end |