Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124008
spec_helper.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
426 B
Subscribers
None
spec_helper.rb
View Options
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
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sat, Jun 21, 6:33 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3279387
Attached To
rSPNTP puppet-puppetlabs-ntp
Event Timeline
Log In to Comment