From 04de304268a3bacec6a6ada46a0641c0b0e68ddf Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 22 Feb 2014 08:22:51 -0700 Subject: add missing specs for confidential status. --- app/models/license_status/confidential.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app') 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 -- cgit v1.2.3