Commit 7b4600ed authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve spec/models/user_spec.rb

parent 7a664159
......@@ -2564,13 +2564,9 @@ describe User do
it 'changes the namespace (just to compare to when username is not changed)' do
expect do
<<<<<<< HEAD
user.update!(username: new_username)
=======
Timecop.freeze(1.second.from_now) do
user.update!(username: new_username)
end
>>>>>>> upstream/master
end.to change { user.namespace.updated_at }
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