Issue #5769 has been updated by Ben Hughes.

Status changed from Unreviewed to Accepted


----------------------------------------
Bug #5769: figure out why Report#update_node can't save an object with 
#update_without_callbacks any more
https://projects.puppetlabs.com/issues/5769

Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


In an effort to clean up Dashboard's spec tests, we are removing pending tests. 
 One of the pending tests seems to document a known bug.  This bug should be 
fixed.

The relevant test (from spec/models/report_spec.rb) is:

<pre>
    it "does not create a timeline event for the node" do
      pending "FIXME figure out why Report#update_node can't save an object 
with #update_without_callbacks any more"
      node = Node.generate(:name => @report_data.host)
      lambda {
        Report.create(:report => @report_yaml)
        node.reload
      }.should_not change(TimelineEvent, :count)
    end
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to