Sha256: 5c13e9e028768762cc3db32a8a9a5862066e8c8146405b8c5e325ac08481601a

Contents?: true

Size: 433 Bytes

Versions: 11

Compression:

Stored size: 433 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'jtable-rails'

require 'support/rails_app/config/environment.rb'

Dir[File.expand_path(File.join(File.dirname(__FILE__), 'fabricators', '**', '*.rb'))].each {|f| require f}

RSpec.configure do |config|
  config.before(:each) do
    [Person].each do |model|
      model.destroy_all
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jtable-rails-0.2.5 spec/spec_helper.rb
jtable-rails-0.2.4 spec/spec_helper.rb
jtable-rails-0.2.3 spec/spec_helper.rb
jtable-rails-0.2.2 spec/spec_helper.rb
jtable-rails-0.2.1 spec/spec_helper.rb
jtable-rails-0.2.0 spec/spec_helper.rb
jtable-rails-0.1.4 spec/spec_helper.rb
jtable-rails-0.1.3 spec/spec_helper.rb
jtable-rails-0.1.2 spec/spec_helper.rb
jtable-rails-0.1.1 spec/spec_helper.rb
jtable-rails-0.1.0 spec/spec_helper.rb