Skip to content
Snippets Groups Projects
Commit cb64c33c authored by pabois's avatar pabois
Browse files

fix alumni

parent 1b0590af
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
<div class="experiences mt-4">
<ul class="list-unstyled">
<% person&.cohorts&.each do |cohort| %>
<% @person&.cohorts&.each do |cohort| %>
<li class="experiences__experience py-4 border-top">
<div class="row">
<div class="col-md-6">
......
APPLICATION_ENV: development
# Can be used when working on two incompatible branches (e.g. main & i18n)
OSUNY_DEVELOPMENT_DBNAME:
BUGSNAG_JAVASCRIPT_KEY:
BUGSNAG_RUBY_KEY:
......@@ -8,6 +6,9 @@ BUGSNAG_RUBY_KEY:
MAIL_FROM_DEFAULT_ADDRESS:
MAIL_FROM_DEFAULT_NAME:
# Can be used when working on two incompatible branches (e.g. main & i18n)
OSUNY_DEVELOPMENT_DBNAME:
OSUNY_STAGING_APP_NAME:
OSUNY_STAGING_PG_ADDON_ID:
......
......@@ -8,14 +8,6 @@ class Extranet::Alumni::OrganizationsControllerTest < ActionDispatch::Integratio
assert_response(:success)
end
def test_search
get alumni_search_university_organizations_path(term: "Organisation de test")
assert_response(:success)
results = JSON.parse(response.body)
assert_equal(1, results.size)
assert_equal("Organisation de test", results.first["label"])
end
def test_show
get alumni_university_organization_path(university_organizations(:default_organization))
assert_response(:success)
......
require "test_helper"
class Extranet::OrganizationsControllerTest < ActionDispatch::IntegrationTest
include ExtranetSetup
def test_search
get search_organizations_path(term: "Organisation de test")
assert_response(:success)
results = JSON.parse(response.body)
assert_equal(1, results.size)
assert_equal("Organisation de test", results.first["label"])
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment