diff options
| author | Robert | 2017-07-10 17:38:50 +0200 |
|---|---|---|
| committer | Robert | 2017-07-10 17:38:50 +0200 |
| commit | 64e16e9525961066a8d4f2770e8ccb8472a15956 (patch) | |
| tree | e2d06a9349307f4a28ca70c55bf71645bbac010a /spec/lib/stif | |
| parent | 2da5bd656b9bbd99d9dac3bdd46ea1f75163e459 (diff) | |
| download | chouette-core-64e16e9525961066a8d4f2770e8ccb8472a15956.tar.bz2 | |
hotfix
Diffstat (limited to 'spec/lib/stif')
| -rw-r--r-- | spec/lib/stif/permission_translator_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/stif/permission_translator_spec.rb b/spec/lib/stif/permission_translator_spec.rb new file mode 100644 index 000000000..3672c7937 --- /dev/null +++ b/spec/lib/stif/permission_translator_spec.rb @@ -0,0 +1,10 @@ +RSpec.describe Stif::PermissionTranslator do + + context "SSO Permission boiv:read:offer →" do + + it "sessions:create only" do + expect( described_class.translate(%w{boiv:read:offer}) ).to eq(%w{sessions:create}) + end + + end +end |
