Sha256: 4cce83b8691abdbd112b9f3248c61ed9a28ff85535e7d2a69717851c81a02403

Contents?: true

Size: 408 Bytes

Versions: 16

Compression:

Stored size: 408 Bytes

Contents

ENV['APP_ENV'] = 'test'
require './app'

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

16 entries across 16 versions & 1 rubygems

Version Path
eucalypt-0.9.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.8.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.7.2 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.7.1 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.7.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.6.2 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.6.1 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.6.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.5.4 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.5.3 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.5.2 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.5.1 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.5.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.4.2 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.4.1 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.4.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb