spec/ugigi_spec.rb in ugigi-0.4 vs spec/ugigi_spec.rb in ugigi-0.4.1
- old
+ new
@@ -15,9 +15,13 @@
it "配列の中身が全て Ugigi::Index であること" do
@free_search_result.each do |i|
i.class.should == Ugigi::Index
end
end
+
+ it "配列の最初のIndexのtitleがStringであること" do
+ @free_search_result.first.title.class.should == String
+ end
end
describe Ugigi, "が #total_count を呼ぶ時は" do
before do
@total_count_result = Ugigi.total_count(:free => "霊夢")
\ No newline at end of file