diff options
| author | Xinhui | 2016-11-08 16:00:39 +0100 |
|---|---|---|
| committer | Xinhui | 2016-11-08 16:00:39 +0100 |
| commit | f07d997e80a59d12c98798da015bae36b3af66d2 (patch) | |
| tree | 2112b8299f92f2ec7aa76922e406726b7f5305c8 /spec/models/organisation_spec.rb | |
| parent | 9418590690f14907b87fe22376281bd1bf3cb5a3 (diff) | |
| download | chouette-core-f07d997e80a59d12c98798da015bae36b3af66d2.tar.bz2 | |
MyWorkBenchScopes
Refs #1787
Diffstat (limited to 'spec/models/organisation_spec.rb')
| -rw-r--r-- | spec/models/organisation_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/organisation_spec.rb b/spec/models/organisation_spec.rb index c0aba2eb8..823ee7ea6 100644 --- a/spec/models/organisation_spec.rb +++ b/spec/models/organisation_spec.rb @@ -36,7 +36,7 @@ describe Organisation, :type => :model do it 'should retrieve functional scope' do Organisation.portail_sync org = Organisation.find_by(code: 'RATP') - expect(org.sso_attributes['functional_scope']).to eq "[STIF:CODIFLIGNE:Line:C00840, STIF:CODIFLIGNE:Line:C00086]" + expect(org.sso_attributes['functional_scope']).to eq "[\"STIF:CODIFLIGNE:Line:C00840\", \"STIF:CODIFLIGNE:Line:C00086\"]" end it 'should update existing organisations' do |
