2011-02-04 5 views
0

私は現在、外部のXMLフィードを使用してデータを入力するモデル(タブレス)を持っています。テストするものの種類は何ですか?私は、これは正しいの計画であるかどうかに...ダウンのようないくつかのことを書くことRSpecモデル、外部XMLフィードを使用したテスト

describe Listing, 'Fetch for XML Feed' do
it "should be able to connect to the internet" do
it "should raise an error if it cannot connect to the internet" do
it "should exist at the given URL" do
it "should raise an error if not found" do
it "should contain certain tags in the document" do
end

任意の考えを開始しましたか?

答えて

関連する問題