mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Fix failing specs
This commit is contained in:
parent
594ed4ca63
commit
2eb9151d2e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue