failing tests

2 views
Skip to first unread message

Alex Chaffee

unread,
Dec 10, 2012, 4:22:57 PM12/10/12
to groupiter-dev
1) UserMailer#news User#deliver_news sets last_news_at
Failure/Error: user.reload.last_news_at.should
be_close_to(Time.now, 1.second)
expected close_to?(2012-12-10 13:00:51 -0800, 1 second) to
return true, got false
# ./spec/mailers/user_mailer_spec.rb:65:in `block (4 levels) in
<top (required)>'

2) UserMailer#news User#deliver_news delivers the email
Failure/Error: first_email.should_not be_nil
expected: not nil
got: nil
# ./spec/mailers/user_mailer_spec.rb:70:in `block (4 levels) in
<top (required)>'


--
Alex Chaffee - al...@stinky.com
http://alexchaffee.com
http://codelikethis.com
http://twitter.com/alexch

Alex Chaffee

unread,
Dec 11, 2012, 2:13:00 PM12/11/12
to groupiter-dev
I'm ready to check in the addresses deletion, but here are my current
crop of failures.

Failures:

1) DotfileOrganizer a folder containing a file and a folder
processing delta entries deletions processes a deleted group
Failure/Error: group.reload.should be_archived
expected archived? to return true, got false
# ./spec/functional/dotfile_organizer_spec.rb:282:in `block (5
levels) in <top (required)>'

2) DotfileOrganizer a folder containing a file and a folder
processing delta entries additions dotfiles re-activates a group that
has been renamed
Failure/Error: child_group.name.should == File.basename(new_folder_path)
expected: "Photos_new"
got: "Photos" (using ==)
# ./spec/functional/dotfile_organizer_spec.rb:303:in `block (6
levels) in <top (required)>'

3) DotfileOrganizer a folder containing a file and a folder
processing delta entries additions dotfiles handles moves to different
parent group
Failure/Error: group.reload.children.count.should == 1
expected: 1
got: 2 (using ==)
# ./spec/functional/dotfile_organizer_spec.rb:332:in `block (6
levels) in <top (required)>'

4) UserMailer#news User#deliver_news sets last_news_at
Failure/Error: user.reload.last_news_at.should
be_close_to(Time.now, 1.second)
expected close_to?(2012-12-11 11:09:49 -0800, 1 second) to
return true, got false
# ./spec/mailers/user_mailer_spec.rb:65:in `block (4 levels) in
<top (required)>'

5) UserMailer#news User#deliver_news delivers the email
Failure/Error: first_email.should_not be_nil
expected: not nil
got: nil
# ./spec/mailers/user_mailer_spec.rb:70:in `block (4 levels) in
<top (required)>'

6) TimelineEvent should fire appropriate callbacks
Failure/Error: gfile.trigger_timeline_event
NoMethodError:
undefined method `update_attribute' for nil:NilClass
# ./app/models/gfile.rb:47:in `trigger_timeline_event'
# ./spec/models/timeline_event_spec.rb:36:in `block (2 levels) in
<top (required)>'
Reply all
Reply to author
Forward
0 new messages