spec/application/tasks_controller.rb in remarkable_rails-3.0.5 vs spec/application/tasks_controller.rb in remarkable_rails-3.0.6
- old
+ new
@@ -21,10 +21,10 @@
def destroy
@task = Task.find(params[:id])
@task.destroy
- flash[:notice] = 'Task deleted.'
+ flash[:notice] = "#{@task.title(false).inspect} was removed"
session[:last_task_id] = 37
respond_to do |format|
format.html { redirect_to project_tasks_url(10) }
format.xml { head :ok }