Sha256: b26765851e056532e5de6304695cc248e806969fcbe57205e137b189e966dd7b

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'homesick'
require 'spec'
require 'spec/autorun'
require 'construct'

Spec::Runner.configure do |config|
  config.include Construct::Helpers

  config.before do
    @user_dir = create_construct
    Homesick.stub!(:user_dir).and_return(@user_dir)
  end

  config.after do
    @user_dir.destroy!
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
homesick-0.3.0 spec/spec_helper.rb
homesick-0.2.0 spec/spec_helper.rb
homesick-0.1.1 spec/spec_helper.rb
homesick-0.1.0 spec/spec_helper.rb