We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0af56b commit 3b029ffCopy full SHA for 3b029ff
config/site.defaults.yml
@@ -138,3 +138,8 @@ course_instruction_page: http://mooc.fi/courses/general/ohjelmointi/
138
139
# Teacher manual link
140
teacher_manual_url: http://testmycode.github.io/tmc-server/usermanual/
141
+
142
+# URLs for password management via courses.mooc.fi
143
+courses_mooc_fi_auth_url:
144
+courses_mooc_fi_update_password_url:
145
+courses_mooc_fi_create_user_url:
spec/controllers/users_controller_spec.rb
@@ -52,6 +52,8 @@
52
password: 'xoox',
53
password_repeat: 'xoox'
54
}
55
+ # Mock the courses.mooc.fi integration to avoid HTTP calls in tests
56
+ allow_any_instance_of(User).to receive(:post_new_user_to_courses_mooc_fi).and_return(true)
57
end
58
59
it 'should create a new user account' do
0 commit comments