summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/functional/groups_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb
index 67edb9261..0a21b5448 100644
--- a/test/functional/groups_controller_test.rb
+++ b/test/functional/groups_controller_test.rb
@@ -53,7 +53,7 @@ class GroupsControllerTest < ActionController::TestCase
post :create, :group => {:name => 'New group'}
end
assert_redirected_to '/groups'
- group = Group.first(:order => 'id DESC')
+ group = Group.order('id DESC').first
assert_equal 'New group', group.name
assert_equal [], group.users
end
@@ -63,7 +63,7 @@ class GroupsControllerTest < ActionController::TestCase
post :create, :group => {:name => 'New group'}, :continue => 'Create and continue'
end
assert_redirected_to '/groups/new'
- group = Group.first(:order => 'id DESC')
+ group = Group.order('id DESC').first
assert_equal 'New group', group.name
end
n> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/additionalScripts.js
blob: a91a84b5f915cb85384e566c4adc474e7d7444d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33