diff options
Diffstat (limited to 'spec/lib/stif')
| -rw-r--r-- | spec/lib/stif/permission_translator_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/stif/permission_translator_spec.rb b/spec/lib/stif/permission_translator_spec.rb index 04fc1c6f3..9771af187 100644 --- a/spec/lib/stif/permission_translator_spec.rb +++ b/spec/lib/stif/permission_translator_spec.rb @@ -1,3 +1,4 @@ +# coding: utf-8 RSpec.describe Stif::PermissionTranslator do context "No SSO Permissions" do @@ -46,13 +47,13 @@ RSpec.describe Stif::PermissionTranslator do context "For the STIF organisation" do let(:organisation){ build_stubbed :organisation, name: "STIF" } let(:permissions){ %w{calendars.share stop_area_referentials.synchronize line_referentials.synchronize}.sort } - it "adds the calendars.share permission" do + it "adds the STIF permission" do expect(described_class.translate([], organisation).sort).to eq permissions end context "with the case changed" do let(:organisation){ build_stubbed :organisation, name: "StiF" } - it "adds the calendars.share permission" do + it "adds the STIF permission" do expect(described_class.translate([], organisation).sort).to eq permissions end end |
