diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 08:22:51 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 08:22:51 -0700 |
| commit | 04de304268a3bacec6a6ada46a0641c0b0e68ddf (patch) | |
| tree | 34dadea5620e0c9df52681d868fd0b7ba72b4c92 /app | |
| parent | 224eef2913cba14d052554ff6276680ba62d6430 (diff) | |
add missing specs for confidential status.
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/license_status/confidential.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/license_status/confidential.rb b/app/models/license_status/confidential.rb index 81178f6..d108491 100644 --- a/app/models/license_status/confidential.rb +++ b/app/models/license_status/confidential.rb @@ -4,6 +4,10 @@ class LicenseStatus::Confidential end def matches?(name) - "confidential" == name + to_s == name + end + + def to_s + 'confidential' end end |
