summaryrefslogtreecommitdiff
path: root/spec/controllers/comments_controller_spec.rb
diff options
context:
space:
mode:
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