diff options
| author | Daniel Pittman <daniel@rimspace.net> | 2011-03-02 19:06:57 -0800 |
|---|---|---|
| committer | Daniel Pittman <daniel@rimspace.net> | 2011-03-03 16:29:37 -0800 |
| commit | 0f6faf5e138e6d11e79b2430b4e6fa6139442509 (patch) | |
| tree | eba4624e042fbd367daa0a36c6d2e61c1d2ac03f /spec/unit/parser | |
| parent | f490526726a5f35437cda11652ae9977d89279e5 (diff) | |
| download | puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.gz puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.tar.xz puppet-0f6faf5e138e6d11e79b2430b4e6fa6139442509.zip | |
(#6582) Eliminate the old fakedata helper method.
This is replaced with the new my_fixture{,s} methods; old fixture data is
ported into the spec tests at the same time, but left where it was against
unit tests that require it.
Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit/parser')
| -rwxr-xr-x | spec/unit/parser/lexer_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/unit/parser/lexer_spec.rb b/spec/unit/parser/lexer_spec.rb index 58978ff03..b8254f2e0 100755 --- a/spec/unit/parser/lexer_spec.rb +++ b/spec/unit/parser/lexer_spec.rb @@ -651,11 +651,8 @@ describe "Puppet::Parser::Lexer in the old tests" do end end -require File.dirname(__FILE__) + '/../../../test/lib/puppettest' -require File.dirname(__FILE__) + '/../../../test/lib/puppettest/support/utils' describe "Puppet::Parser::Lexer in the old tests when lexing example files" do - extend PuppetTest::Support::Utils - textfiles do |file| + my_fixtures('*.pp') do |file| it "should correctly lex #{file}" do lexer = Puppet::Parser::Lexer.new lexer.file = file |
