spec/warbler/gems_spec.rb in warbler-1.3.0.beta1 vs spec/warbler/gems_spec.rb in warbler-1.3.0
- old
+ new
@@ -1,12 +1,12 @@
#--
-# Copyright (c) 2010 Engine Yard, Inc.
+# Copyright (c) 2010-2011 Engine Yard, Inc.
# Copyright (c) 2007-2009 Sun Microsystems, Inc.
# This source code is available under the MIT license.
# See the file LICENSE.txt for details.
#++
-require File.dirname(__FILE__) + '/../spec_helper'
+require File.expand_path('../../spec_helper', __FILE__)
describe Warbler::Gems do
it "should accept a hash for initialization" do
gems = Warbler::Gems.new({"actionpack" => "1.2.3"})
gems.should have_key("actionpack")