Commit e0af7cef authored by Andrew8xx8's avatar Andrew8xx8

Typos fixed

parent 03de5a5c
......@@ -31,11 +31,11 @@ class SnippetsController < ApplicationController
end
def new
@snippet = PersonalSnippet.build
@snippet = PersonalSnippet.new
end
def create
@snippet = PersonalSnippet.build(params[:personal_snippet])
@snippet = PersonalSnippet.new(params[:personal_snippet])
@snippet.author = current_user
if @snippet.save
......
Feature: Snippets
Feature: Snippets Feature
Background:
Given I sign in as a user
And I have public "Personal snippet one" snippet
......
class Snippets < Spinach::FeatureSteps
class SnippetsFeature < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
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