Sha256: 41ea1f4ba53219e788f95f4f1ff5585845f67e7dc426a38579c26aee8342aefb

Contents?: true

Size: 844 Bytes

Versions: 4

Compression:

Stored size: 844 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rspec'
require "active_record"
require "will_paginate"
require 'datagrid'
require 'ruby-debug'


RSpec.configure do |config|


  config.after(:each) do
    #TODO better database truncation
    Group.delete_all
    Entry.delete_all

  end


end



# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/schema.rb"].each {|f| require f}
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datagrid-0.2.0 spec/spec_helper.rb
datagrid-0.1.2 spec/spec_helper.rb
datagrid-0.1.1 spec/spec_helper.rb
datagrid-0.1.0 spec/spec_helper.rb