Skip to content

Commit

Permalink
tests of recent, find, matching aren't needed.
Browse files Browse the repository at this point in the history
they are tested in base_spec.rb
  • Loading branch information
nov committed Mar 4, 2009
1 parent 0f0d9f7 commit 931024b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions spec/smartfm/model/item_spec.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 931024b

Please sign in to comment.