summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type/file_line_spec.rb
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2014-05-15 17:28:59 -0400
committerAshley Penney <ashley.penney@puppetlabs.com>2014-05-15 17:28:59 -0400
commitc5b06f9bbca7acc491560c92a73d7e2a153fe0a7 (patch)
tree239d09f3f93f35d3fc79f28499e19b65756ab982 /spec/unit/puppet/type/file_line_spec.rb
parent430d821ad3bc6828b9c0bc1ddf5967fdd4b4d66b (diff)
Revert "Merge pull request #256 from stbenjam/2571-before"
This reverts commit 8499ebdb7f892f2623295058649c67a5553d4732, reversing changes made to 08b00d9229961d7b3c3cba997bfb35c8d47e4c4b.
Diffstat (limited to 'spec/unit/puppet/type/file_line_spec.rb')
-rwxr-xr-xspec/unit/puppet/type/file_line_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/unit/puppet/type/file_line_spec.rb b/spec/unit/puppet/type/file_line_spec.rb
index b85b9f4..ab5b81b 100755
--- a/spec/unit/puppet/type/file_line_spec.rb
+++ b/spec/unit/puppet/type/file_line_spec.rb
@@ -15,14 +15,6 @@ describe Puppet::Type.type(:file_line) do
file_line[:match] = '^foo.*$'
file_line[:match].should == '^foo.*$'
end
- it 'should accept an after regex' do
- file_line[:after] = '^foo.*$'
- file_line[:after].should == '^foo.*$'
- end
- it 'should accept a before regex' do
- file_line[:before] = '^foo.*$'
- file_line[:before].should == '^foo.*$'
- end
it 'should not accept a match regex that does not match the specified line' do
expect {
Puppet::Type.type(:file_line).new(