Sha256: e02c176d3e396a69bf62dc5c5240a5bd643a58c757b4c7ab34e39abd56e5b78f

Contents?: true

Size: 528 Bytes

Versions: 27

Compression:

Stored size: 528 Bytes

Contents

$:.push '../lib'

require 'rest_model'
require 'ostruct'
require 'json'
require 'stringio'
require 'active_support/core_ext/hash/indifferent_access'

require 'support/shared_examples'
require 'support/examples'
require 'support/out'

RSpec.configure do |config|
  config.before do
    [:Example, :ExampleChild].each do |klass|
      Object.send(:remove_const, klass) if Object.const_defined? klass
    end
  end
end

include Output
include Examples

RestModel::Configuration.configure do |c|
  c.host = 'http://example.com'
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rest_model-0.2.1 spec/spec_helper.rb
rest_model-0.2.0 spec/spec_helper.rb
rest_model-0.1.24 spec/spec_helper.rb
rest_model-0.1.23 spec/spec_helper.rb
rest_model-0.1.22 spec/spec_helper.rb
rest_model-0.1.21 spec/spec_helper.rb
rest_model-0.1.20 spec/spec_helper.rb
rest_model-0.1.19 spec/spec_helper.rb
rest_model-0.1.18 spec/spec_helper.rb
rest_model-0.1.17 spec/spec_helper.rb
rest_model-0.1.16 spec/spec_helper.rb
rest_model-0.1.15 spec/spec_helper.rb
rest_model-0.1.14 spec/spec_helper.rb
rest_model-0.1.13 spec/spec_helper.rb
rest_model-0.1.12 spec/spec_helper.rb
rest_model-0.1.11 spec/spec_helper.rb
rest_model-0.1.10 spec/spec_helper.rb
rest_model-0.1.9 spec/spec_helper.rb
rest_model-0.1.8 spec/spec_helper.rb
rest_model-0.1.7 spec/spec_helper.rb