fixing tests
This commit is contained in:
@@ -37,7 +37,7 @@ class NotesController < ApplicationController
|
||||
|
||||
def destroy
|
||||
@note = Note.find(params[:id])
|
||||
@note.update_attribute(:is_active, false)
|
||||
@note.update_column(:is_active, false)
|
||||
respond_with(@note)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user