(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.
This commit is contained in:
Hailee Kenney 2014-09-03 15:37:15 -07:00
parent b2267fcfc6
commit 645f35ccfe
1 changed files with 0 additions and 5 deletions

View File

@ -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