Skip to content
Snippets Groups Projects
Verified Commit 9bb9cbfd authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Use a proper matcher


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 41b71efd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,6 +3,7 @@ require "spec_helper"
describe 'Git HTTP requests', lib: true do
include GitHttpHelpers
include WorkhorseHelpers
include UserActivitiesHelpers
 
it "gives WWW-Authenticate hints" do
clone_get('doesnt/exist.git')
Loading
Loading
@@ -159,8 +160,9 @@ describe 'Git HTTP requests', lib: true do
end
 
it 'updates the user last activity' do
expect(user_activity(user)).to be_nil
download(path, {}) do |response|
expect(user.reload.last_activity_on).not_to be_nil
expect(user_activity(user)).to be_present
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment