(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:
parent
b2267fcfc6
commit
645f35ccfe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue