diff options
Diffstat (limited to 'spec/requests/search_spec.rb')
-rw-r--r-- | spec/requests/search_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/search_spec.rb b/spec/requests/search_spec.rb index 17cc0d39946..e338f359f88 100644 --- a/spec/requests/search_spec.rb +++ b/spec/requests/search_spec.rb @@ -4,7 +4,7 @@ describe "Search" do before do login_as :user @project = create(:project) - @project.add_access(@user, :read) + @project.team << [@user, :reporter] visit search_path fill_in "search", with: @project.name[0..3] click_button "Search" |