Sha256: 0f5ee0ecdbcb004af003eec968016a0fd57a972faf9a34bd047e9d65102cfc80

Contents?: true

Size: 432 Bytes

Versions: 4

Compression:

Stored size: 432 Bytes

Contents

require './app'
Bundler.require :test

ENV['RACK_ENV'] = 'test'

Shoulda::Matchers.configure do |config|
  config.integrate do |with|
    with.test_framework :rspec
    with.library :active_record
    with.library :active_model
  end
end

RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include Shoulda::Matchers::ActiveModel, type: :model
  config.include Shoulda::Matchers::ActiveRecord, type: :model
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eucalypt-0.1.3 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb