projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Take the user from the node or changeset, rather than referring to the fixture.
[rails.git]
/
test
/
controllers
/
api_controller_test.rb
diff --git
a/test/controllers/api_controller_test.rb
b/test/controllers/api_controller_test.rb
index d94312f4bade28871cf3d2b19794d896f2aaa526..1ad53145ab4274f287c45803af7a2ee73bb49e66 100644
(file)
--- a/
test/controllers/api_controller_test.rb
+++ b/
test/controllers/api_controller_test.rb
@@
-382,7
+382,7
@@
class ApiControllerTest < ActionController::TestCase
end
def test_permissions_basic_auth
- basic_authorization(create(:
normal_
user).email, "test")
+ basic_authorization(create(:user).email, "test")
get :permissions
assert_response :success
assert_select "osm > permissions", :count => 1 do