diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 08:19:33 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 08:19:33 -0700 |
| commit | 224eef2913cba14d052554ff6276680ba62d6430 (patch) | |
| tree | 7dacc33b1bc4823f5b1ee5f62da1acc318e11746 /spec/models | |
| parent | 1de5ac98002e9057bd5a163deb93f630464185fc (diff) | |
pretty print the expired status.
Diffstat (limited to 'spec/models')
| -rw-r--r-- | spec/models/license_status/expired_spec.rb | 4 |
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 |
