Commit e0af7cef authored by Andrew8xx8's avatar Andrew8xx8

Typos fixed

parent 03de5a5c
...@@ -31,11 +31,11 @@ class SnippetsController < ApplicationController ...@@ -31,11 +31,11 @@ class SnippetsController < ApplicationController
end end
def new def new
@snippet = PersonalSnippet.build @snippet = PersonalSnippet.new
end end
def create def create
@snippet = PersonalSnippet.build(params[:personal_snippet]) @snippet = PersonalSnippet.new(params[:personal_snippet])
@snippet.author = current_user @snippet.author = current_user
if @snippet.save if @snippet.save
......
Feature: Snippets Feature: Snippets Feature
Background: Background:
Given I sign in as a user Given I sign in as a user
And I have public "Personal snippet one" snippet And I have public "Personal snippet one" snippet
......
class Snippets < Spinach::FeatureSteps class SnippetsFeature < Spinach::FeatureSteps
include SharedAuthentication include SharedAuthentication
include SharedPaths include SharedPaths
include SharedProject include SharedProject
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment