From 645f35ccfe3a85dda7c314c15411bfb0e2445163 Mon Sep 17 00:00:00 2001 From: Hailee Kenney Date: Wed, 3 Sep 2014 15:37:15 -0700 Subject: [PATCH] (PDOC-5) Remove unneeded test case Remove an unneeded test case. Since it would be caught even in a very basic system, an automated test case is not needed. --- spec/unit/puppetx/yardoc/pops_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/unit/puppetx/yardoc/pops_spec.rb b/spec/unit/puppetx/yardoc/pops_spec.rb index 0407d99..7b14ee9 100644 --- a/spec/unit/puppetx/yardoc/pops_spec.rb +++ b/spec/unit/puppetx/yardoc/pops_spec.rb @@ -10,11 +10,6 @@ describe Puppetx::Yardoc::Pops do let(:test_statement) {Puppetx::Yardoc::Pops::YARDStatement.new(model)} describe "when creating a new instance of YARDStatement" do - it "should raise an error if the argument is not a PopsObject" do - test_arg = 'foo bar' - expect{Puppetx::Yardoc::Pops::YARDStatement.new(test_arg)}.to raise_error(ArgumentError) - end - it "should extract comments from the source code" do expect(test_statement.comments).to match(/^#hello world/) end