Commit baa54629 authored by randx's avatar randx

[Tests] added spec for search page

parent 020caf12
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment