Sha256: e6e6fad7d1ad696ebde41d58d4650b448421ede99284aa585179a3120761114f

Contents?: true

Size: 431 Bytes

Versions: 9

Compression:

Stored size: 431 Bytes

Contents

require './app'
Bundler.require :test

ENV['APP_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

9 entries across 9 versions & 1 rubygems

Version Path
eucalypt-0.3.5 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.3.4 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.3.3 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.3.2 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.3.1 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.3.0 lib/eucalypt/core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.2.2 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-core/templates/eucalypt/spec/spec_helper.rb