Sha256: 472a11e97367a5fa8d7f1e8e50963fc5b5057e2178fcd5e7965781513ddb638b

Contents?: true

Size: 296 Bytes

Versions: 16

Compression:

Stored size: 296 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

begin
  require 'active_model'
rescue LoadError => e
  # When there's NO active_model
  require File.dirname(__FILE__) + '/active_record_setup'
else
  # When there IS active model
  require File.dirname(__FILE__) + '/active_model_setup'
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
dragonfly-0.8.6 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.8.5 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.8.4 spec/dragonfly/active_model_extensions/spec_helper.rb
fog-dragonfly-0.8.2 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.8.2 spec/dragonfly/active_model_extensions/spec_helper.rb
fog-dragonfly-0.8.1 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.8.1 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.8.0 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.7 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.6 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.5 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.4 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.3 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.2 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.1 spec/dragonfly/active_model_extensions/spec_helper.rb
dragonfly-0.7.0 spec/dragonfly/active_model_extensions/spec_helper.rb