diff options
author | Mark J. Titorenko <mark.titorenko@alces-software.com> | 2011-11-17 20:32:43 +0000 |
---|---|---|
committer | Mark J. Titorenko <mark.titorenko@alces-software.com> | 2011-11-17 20:32:43 +0000 |
commit | 93ae0b28b4623f6c2f3d92eea021f5058d72daf3 (patch) | |
tree | 3b182242540ec68483ec1c35891c3a6a84073341 /spec | |
parent | 808f45d378773b12e9ecc5b6af1a634a96014d5a (diff) | |
download | net-dhcp-ruby-93ae0b28b4623f6c2f3d92eea021f5058d72daf3.tar.gz |
initial gemification with bueller
Diffstat (limited to 'spec')
-rw-r--r-- | spec/net-dhcp_spec.rb | 7 | ||||
-rw-r--r-- | spec/spec_helper.rb | 19 |
2 files changed, 26 insertions, 0 deletions
diff --git a/spec/net-dhcp_spec.rb b/spec/net-dhcp_spec.rb new file mode 100644 index 0000000..e5bd552 --- /dev/null +++ b/spec/net-dhcp_spec.rb @@ -0,0 +1,7 @@ +require 'spec_helper' + +describe NetDhcp do + it "fails" do + fail "hey buddy, you should probably rename this file and start specing for real" + end +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..4b8488f --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,19 @@ +require 'bundler' +begin + Bundler.setup +rescue Bundler::BundlerError => e + $stderr.puts e.message + $stderr.puts "Run `bundle install` to install missing gems" + exit e.status_code +end + +require 'rspec' +require 'net-dhcp' + +# Requires supporting files with custom matchers and macros, etc, +# in ./support/ and its subdirectories. +Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} + +RSpec.configure do |config| + +end |