projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'openstreetmap/pull/903'
[rails.git]
/
test
/
controllers
/
user_preference_controller_test.rb
diff --git
a/test/controllers/user_preference_controller_test.rb
b/test/controllers/user_preference_controller_test.rb
index 46c631f929616cc6fa1f7adba8565e91f9f090be..752ec56cb33b6d6a8dfdd2a75e9a67a825e24792 100644
(file)
--- a/
test/controllers/user_preference_controller_test.rb
+++ b/
test/controllers/user_preference_controller_test.rb
@@
-1,4
+1,4
@@
-require
'test_helper'
+require
"test_helper"
class UserPreferenceControllerTest < ActionController::TestCase
fixtures :users, :user_preferences
class UserPreferenceControllerTest < ActionController::TestCase
fixtures :users, :user_preferences
@@
-36,7
+36,7
@@
class UserPreferenceControllerTest < ActionController::TestCase
assert_response :unauthorized, "should be authenticated"
# authenticate as a user with no preferences
assert_response :unauthorized, "should be authenticated"
# authenticate as a user with no preferences
- basic_authorization("
test
@example.com", "test")
+ basic_authorization("
moderator
@example.com", "test")
# try the read again
get :read
# try the read again
get :read