Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added another failing spec

  • Loading branch information...
commit 84da09a107511dfe2f1fd8593f332b2ed360da26 1 parent 2980e7d
@ludo authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 spec/controllers/messages_controller_spec.rb
View
6 spec/controllers/messages_controller_spec.rb
@@ -57,7 +57,11 @@
response.should render_template("index")
end
- it "should query all messages"
+ it "should query all messages" do
+ Message.should_receive(:all)
+ get :index
+ end
+
it "should expose the messages for the view"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.