Wrap text
Report abuse
|
|
it "should create the feed" do
Feed.should_receive(:new).with({"name" => "Filme", \
"url" => "http://localhost", \
"description" => "Alles zum Thema " +
"Filme"}).and_return(@feed)
post :create, :feed => {"name" => "Filme", \
"url" => "http://localhost", \
"description" => "Alles zum Thema Filme"}
end
|