diff options
| author | Alban Peignier | 2017-12-20 17:21:38 +0100 |
|---|---|---|
| committer | Alban Peignier | 2017-12-20 17:23:47 +0100 |
| commit | 5404543c7438a0f574af49950af52ac27454126d (patch) | |
| tree | e734863f4e2b891038893317ec63cdc85c561503 | |
| parent | f31a79c5bc3678949b7334486daa196a17a5db92 (diff) | |
| download | chouette-core-5404543c7438a0f574af49950af52ac27454126d.tar.bz2 | |
Fixes Organisation#has_feature? spec title. Refs #5339
| -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 0d54ed143..595b08058 100644 --- a/spec/models/organisation_spec.rb +++ b/spec/models/organisation_spec.rb @@ -77,7 +77,7 @@ describe Organisation, :type => :model do expect(organisation.has_feature?(:present)).to be_truthy end - it "return true if Organisation features doesn't contains given feature" do + it "return false if Organisation features doesn't contains given feature" do organisation.features = %w{other} expect(organisation.has_feature?(:absent)).to be_falsy end |
