Only one of the pending spec tests seemed to actually have any lasting value, and we have moved it to a ticket (#5769).
Paired-with: Jesse Wolfe <[email protected]> Signed-off-by: Paul Berry <[email protected]> --- Local-branch: ticket/next/5743 spec/models/report_spec.rb | 9 --------- spec/views/nodes/edit.html.haml_spec.rb | 10 ---------- spec/views/nodes/index.html.haml_spec.rb | 19 ------------------- 3 files changed, 0 insertions(+), 38 deletions(-) diff --git a/spec/models/report_spec.rb b/spec/models/report_spec.rb index bc9550e..1b0d52e 100644 --- a/spec/models/report_spec.rb +++ b/spec/models/report_spec.rb @@ -55,15 +55,6 @@ describe Report do node.reload node.reported_at.should be_close(@report_data.time.in_time_zone, 1.second) end - - 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 end describe "metrics methods" do diff --git a/spec/views/nodes/edit.html.haml_spec.rb b/spec/views/nodes/edit.html.haml_spec.rb index 8a49b6d..54911fd 100644 --- a/spec/views/nodes/edit.html.haml_spec.rb +++ b/spec/views/nodes/edit.html.haml_spec.rb @@ -116,11 +116,6 @@ describe '/nodes/edit' do response.should_not have_tag('#node_class_ids') end - - it 'should provide a remove link for each associated class' - it 'should show the classes available to be associated' - it 'should show non-associated classes in the classes available to be associated section' - it 'should provide an associate link for each available class' end describe 'for groups' do @@ -149,11 +144,6 @@ describe '/nodes/edit' do response.should_not have_tag('#node_group_ids') end - - it 'should provide a remove link for each associated group' - it 'should show the groups available to be associated' - it 'should show non-associated groups in the groups available to be associated section' - it 'should provide an associate link for each available group' end def get_json_struct_for_token_list(selector) diff --git a/spec/views/nodes/index.html.haml_spec.rb b/spec/views/nodes/index.html.haml_spec.rb index a1b69e1..87438c9 100644 --- a/spec/views/nodes/index.html.haml_spec.rb +++ b/spec/views/nodes/index.html.haml_spec.rb @@ -10,25 +10,6 @@ describe '/nodes/index' do render '/nodes/index' end - it 'should render successfully' do - pending "Testing inherited resources views" - do_render - end - - it 'should have a list of nodes' do - pending "Only in layout" - do_render - response.should have_tag('tr.node', :count => @nodes.size) - end - - describe 'each node' do - it 'should have a heading with the node name' do - pending "Only in layout" - do_render - response.should have_tag('tr.node td.name', :text => @nodes.first.name) - end - end - describe "search fields" do before :each do template.stubs( -- 1.7.2 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
