Removing ambiguity and non-working selectors
This commit is contained in:
parent
5aeaf248f1
commit
cce14e0b01
4 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue