Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created January 15, 2009 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plathrop/47496 to your computer and use it in GitHub Desktop.
Save plathrop/47496 to your computer and use it in GitHub Desktop.
/Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run': wrong number of arguments (0 for 1) (ArgumentError)
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner/options.rb:111:in `run_examples'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner.rb:78:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner.rb:48:in `register_at_exit_hook'
from ./aliases.rb:11
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../../spec_helper'
require 'puppettest'
require 'puppettest/support/utils'
require 'puppettest/fileparsing'
provider_class = Puppet::Type.type(:mailalias).provider(:aliases)
describe provider_class do
include PuppetTest
include PuppetTest::FileParsing
# #1560
it "should be able to parse each example" do
fakedata("data/providers/mailalias/aliases").each { |file|
puts "Parsing %s" % file
fakedataparse(file)
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment