describe FeedsController, " receiving /feeds/new using POST, \
but doesn't save" do
before(:all) do
@feed = mock("feed")
Feed.stub!(:new).and_return(@feed)
@feed.stub!(:save)
controller.stub!(:authenticate).and_return(true)
end
|
describe FeedsController, " receiving /feeds/new using POST, \
but doesn't save" do
before(:all) do
@feed = mock("feed")
Feed.stub!(:new).and_return(@feed)
@feed.stub!(:save)
controller.stub!(:authenticate).and_return(true)
end
|