summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 08:19:33 -0700
committermo khan <mo@mokhan.ca>2014-02-22 08:19:33 -0700
commit224eef2913cba14d052554ff6276680ba62d6430 (patch)
tree7dacc33b1bc4823f5b1ee5f62da1acc318e11746 /spec
parent1de5ac98002e9057bd5a163deb93f630464185fc (diff)
pretty print the expired status.
Diffstat (limited to 'spec')
-rw-r--r--spec/models/license_status/expired_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/license_status/expired_spec.rb b/spec/models/license_status/expired_spec.rb
index 33092f7..ed5ea5d 100644
--- a/spec/models/license_status/expired_spec.rb
+++ b/spec/models/license_status/expired_spec.rb
@@ -9,4 +9,8 @@ describe LicenseStatus::Expired do
results.should include(expired_license)
results.should_not include(active_license)
end
+
+ it "returns it's name" do
+ subject.to_s.should == 'expired'
+ end
end