diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-21 15:28:05 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-21 15:28:05 +0400 |
commit | cce14e0b0133ec6e8f380a23a6309bb52e67cc20 (patch) | |
tree | a151d32bee7c81c4a9b728becd5da6868ec5f70b /spec/features/search_spec.rb | |
parent | 5aeaf248f1730ba1698d9e98ec43920b172b9e0c (diff) |
Removing ambiguity and non-working selectors
Diffstat (limited to 'spec/features/search_spec.rb')
-rw-r--r-- | spec/features/search_spec.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb index e338f359f88..5ce4cae3551 100644 --- a/spec/features/search_spec.rb +++ b/spec/features/search_spec.rb @@ -6,8 +6,11 @@ describe "Search" do @project = create(:project) @project.team << [@user, :reporter] visit search_path - fill_in "search", with: @project.name[0..3] - click_button "Search" + + within '.search-holder' do + fill_in "search", with: @project.name[0..3] + click_button "Search" + end end it "should show project in search results" do |