From 2eb9151d2eae00b662192e094066cf1399bbc278 Mon Sep 17 00:00:00 2001 From: Eric Allen Date: Fri, 2 Jan 2009 01:54:56 -0500 Subject: [PATCH] Fix failing specs --- spec/models/todo_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/todo_spec.rb b/spec/models/todo_spec.rb index 5cc542f0..d2ec9263 100644 --- a/spec/models/todo_spec.rb +++ b/spec/models/todo_spec.rb @@ -170,7 +170,7 @@ describe Todo do it 'is starred if tag is "starred"' do todo = create_todo todo.should_not be_starred - todo.add_tag('starred') + todo._add_tags('starred') todo.reload todo.should be_starred end @@ -178,7 +178,7 @@ describe Todo do describe 'when toggling star flag' do it 'toggles to not starred when starred' do todo = create_todo - todo.add_tag('starred') + todo._add_tags('starred') todo.should be_starred todo.toggle_star! todo.reload