Permalink
Browse files

Passing controller tests

  • Loading branch information...
ludo committed Jul 25, 2011
1 parent d7e8561 commit 62e3f16fd1d0a865fd23add62d3f2b64aae95f0b
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/controllers/messages_controller_spec.rb
@@ -4,6 +4,7 @@
describe "GET /messages/new" do
before(:each) do
@message = Message.new
+ Message.stub(:new).and_return(@message)
end
it "should have a 'new' action" do

0 comments on commit 62e3f16

Please sign in to comment.