spec/unit/util/fact_spec.rb in facter-1.6.4 vs spec/unit/util/fact_spec.rb in facter-1.6.5
- old
+ new
@@ -1,8 +1,7 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env rspec
-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
-
+require 'spec_helper'
require 'facter/util/fact'
describe Facter::Util::Fact do
it "should require a name" do
lambda { Facter::Util::Fact.new }.should raise_error(ArgumentError)