Sha256: dd6e52e74d715274d3060074aa2a0c20f384436bd70c821ebfee1b7c2b282950

Contents?: true

Size: 385 Bytes

Versions: 12

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe DHS::Record do
  context 'build' do
    let(:datastore) { 'http://depay.fi/v2' }

    it 'is possible to load records twice' do
      class Feedback < DHS::Record
        endpoint '{+datastore}/feedbacks'
      end

      class Feedback < DHS::Record
        endpoint '{+datastore}/feedbacks'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhs-1.6.0 spec/record/loading_twice_spec.rb
dhs-1.5.0 spec/record/loading_twice_spec.rb
dhs-1.4.2 spec/record/loading_twice_spec.rb
dhs-1.4.1 spec/record/loading_twice_spec.rb
dhs-1.4.0 spec/record/loading_twice_spec.rb
dhs-1.3.0 spec/record/loading_twice_spec.rb
dhs-1.2.0 spec/record/loading_twice_spec.rb
dhs-1.1.0 spec/record/loading_twice_spec.rb
dhs-1.0.3 spec/record/loading_twice_spec.rb
dhs-1.0.2 spec/record/loading_twice_spec.rb
dhs-1.0.1 spec/record/loading_twice_spec.rb
dhs-1.0.0 spec/record/loading_twice_spec.rb