Permalink
Browse files

tests of recent, find, matching aren't needed.

they are tested in base_spec.rb
  • Loading branch information...
1 parent 0f0d9f7 commit 931024bb610ceeef815f8688c1c709f544a82375 nov committed Mar 4, 2009
Showing with 0 additions and 18 deletions.
  1. +0 −18 spec/smartfm/model/item_spec.rb
@@ -16,24 +16,6 @@
end
end
-describe Smartfm::Item, '#recent' do
- it "should return a Array of Smartfm::Item" do
- Smartfm::Item.recent.should be_a(Array)
- Smartfm::Item.recent.each do |item|
- item.should be_a(Smartfm::Item)
- end
- end
-end
-
-describe Smartfm::Item, '#matching' do
- it "should return a Array of Smartfm::Item" do
- Smartfm::Item.matching('smart').should be_a(Array)
- Smartfm::Item.matching('smart').each do |item|
- item.should be_a(Smartfm::Item)
- end
- end
-end
-
describe Smartfm::Item, '#cue' do
it "should return a instance o Smartfm::Item::Cue" do
smart.cue.should be_a(Smartfm::Item::Cue)

0 comments on commit 931024b

Please sign in to comment.