spec/unit/resource_spec.rb in puppet-retrospec-0.7.2 vs spec/unit/resource_spec.rb in puppet-retrospec-0.7.3
- old
+ new
@@ -45,11 +45,9 @@
expect(r[1].parameters).to eq({"ensure"=>"present","content" => "/tmp/test3/test3183/oohhhh"})
expect(r[1].title).to eq("/tmp/test3")
expect(r[1].type).to eq("file")
end
-
-
it 'should return resources' do
test_type = @m.types.find {|x| x.name == 'one_resource::another_resource'}
expect(Resource.all(test_type.code).length).to eq(2)
end