Commit fc74627f3c187467fdc3ab8f0af50d044d3dfc26
1 parent
133102a7
Exists in
master
and in
4 other branches
fix typo in spec file name
Showing
2 changed files
with
17 additions
and
17 deletions
Show diff stats
spec/requests/searc_spec.rb
@@ -1,17 +0,0 @@ | @@ -1,17 +0,0 @@ | ||
1 | -require 'spec_helper' | ||
2 | - | ||
3 | -describe "Search" do | ||
4 | - before do | ||
5 | - login_as :user | ||
6 | - @project = Factory :project | ||
7 | - @project.add_access(@user, :read) | ||
8 | - visit search_path | ||
9 | - fill_in "search", :with => @project.name[0..3] | ||
10 | - click_button "Search" | ||
11 | - end | ||
12 | - | ||
13 | - it "should show project in search results" do | ||
14 | - page.should have_content @project.name | ||
15 | - end | ||
16 | -end | ||
17 | - |
@@ -0,0 +1,17 @@ | @@ -0,0 +1,17 @@ | ||
1 | +require 'spec_helper' | ||
2 | + | ||
3 | +describe "Search" do | ||
4 | + before do | ||
5 | + login_as :user | ||
6 | + @project = Factory :project | ||
7 | + @project.add_access(@user, :read) | ||
8 | + visit search_path | ||
9 | + fill_in "search", :with => @project.name[0..3] | ||
10 | + click_button "Search" | ||
11 | + end | ||
12 | + | ||
13 | + it "should show project in search results" do | ||
14 | + page.should have_content @project.name | ||
15 | + end | ||
16 | +end | ||
17 | + |