Skip to content

Commit

Permalink
replace old unused rspec cruft with a clean template
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Aug 2, 2013
1 parent 05c7d97 commit 6cd6c2e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ fixtures:
repositories:
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
symlinks:
"foo": "#{source_dir}"
"pureftpd": "#{source_dir}"
7 changes: 0 additions & 7 deletions spec/README.markdown

This file was deleted.

1 change: 1 addition & 0 deletions spec/classes/pureftpd_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'spec_helper'
6 changes: 0 additions & 6 deletions spec/spec.opts

This file was deleted.

19 changes: 1 addition & 18 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
require 'pathname'
dir = Pathname.new(__FILE__).parent
$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib')

require 'mocha'
require 'puppet'
gem 'rspec', '=1.2.9'
require 'spec/autorun'

Spec::Runner.configure do |config|
config.mock_with :mocha
end

# We need this because the RAL uses 'should' as a method. This
# allows us the same behaviour but with a different method name.
class Object
alias :must :should
end
require 'puppetlabs_spec_helper/module_spec_helper'
4 changes: 0 additions & 4 deletions spec/unit/puppet/provider/README.markdown

This file was deleted.

4 changes: 0 additions & 4 deletions spec/unit/puppet/type/README.markdown

This file was deleted.

0 comments on commit 6cd6c2e

Please sign in to comment.