Sha256: f9c89f51bbc168e51c17c63e7514896b5c80c21970a61c18f2f73dec98b6f2a8
Contents?: true
Size: 547 Bytes
Versions: 7
Compression:
Stored size: 547 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) require "rspec" require 'ostruct' require "active_model_serializers_validator" # Require everything in `spec/support` Dir[File.expand_path('../../spec/support/**/*.rb', __FILE__)].map(&method(:require)) # Configure RSpec RSpec.configure do |config| # Modules config.include Fixtures config.include Serializers # Hooks config.before(:suite) do class OpenStruct def read_attribute_for_serialization(attribute) self.send(attribute) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems