summaryrefslogtreecommitdiff
path: root/spec/controllers/comments_controller_spec.rb
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-06-09 17:07:57 -0600
committermo k <mo@mokhan.ca>2012-06-09 17:07:57 -0600
commiteee4627da61e0adfc2edaa0e6d1f5ef6545254eb (patch)
tree78a1742294dfc590379187472a879744e55fc782 /spec/controllers/comments_controller_spec.rb
parent8c973ebf103469831e2be9102e148deb10091cba (diff)
fix typo
Diffstat (limited to 'spec/controllers/comments_controller_spec.rb')
-rw-r--r--spec/controllers/comments_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb
index 0d31dad6..ba8c4d4d 100644
--- a/spec/controllers/comments_controller_spec.rb
+++ b/spec/controllers/comments_controller_spec.rb
@@ -4,13 +4,14 @@ require 'fakes-rspec'
describe CommentsController do
let(:sut) { CommentsController.new }
+
describe 'when commenting on a creation' do
let(:comment) { fake }
it "should save the new comment" do
comment.should have_received(:save)
end
- it "should displa a message indicated that the comment was saved" do
+ it "should display a message indicated that the comment was saved" do
@flash_hash[:notice].should_not be_nil
end
it "should not display an errors" do