fix typo in spec file name

This commit is contained in:
Nihad Abbasov 2012-05-29 17:11:55 +05:00
parent 133102a7eb
commit fc74627f3c

View file

@ -0,0 +1,17 @@
require 'spec_helper'
describe "Search" do
before do
login_as :user
@project = Factory :project
@project.add_access(@user, :read)
visit search_path
fill_in "search", :with => @project.name[0..3]
click_button "Search"
end
it "should show project in search results" do
page.should have_content @project.name
end
end