Skip to content
Snippets Groups Projects
Commit e0af7cef authored by Andrew8xx8's avatar Andrew8xx8
Browse files

Typos fixed

parent 03de5a5c
No related branches found
No related tags found
No related merge requests found
Loading
@@ -31,11 +31,11 @@ class SnippetsController < ApplicationController
Loading
@@ -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
Loading
Loading
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
Loading
Loading
class Snippets < Spinach::FeatureSteps class SnippetsFeature < Spinach::FeatureSteps
include SharedAuthentication include SharedAuthentication
include SharedPaths include SharedPaths
include SharedProject include SharedProject
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment