lib/gds-sso/lint/user_spec.rb in gds-sso-10.0.1 vs lib/gds-sso/lint/user_spec.rb in gds-sso-10.1.0

- old
+ new

@@ -37,10 +37,11 @@ }, 'extra' => { 'user' => { 'permissions' => ['signin'], 'organisation_slug' => 'cabinet-office', + 'organisation_content_id' => '91e57ad9-29a3-4f94-9ab4-5e9ae6d13588' } } } user = described_class.find_for_gds_oauth(auth_hash) @@ -48,7 +49,8 @@ expect(user.uid).to eq('12345') expect(user.name).to eq("Joe Smith") expect(user.email).to eq('joe.smith@example.com') expect(user.permissions).to eq(['signin']) expect(user.organisation_slug).to eq('cabinet-office') + expect(user.organisation_content_id).to eq('91e57ad9-29a3-4f94-9ab4-5e9ae6d13588') end end