Sha256: c2beb99f4e82f09f39edd1fa981db95d02ab5b87b1641d194a4cf2ee71e6eacf

Contents?: true

Size: 373 Bytes

Versions: 41

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

module Flydata
  module Api
    describe DataEntry do
      describe '#create' do
        it 'creates data entry' do
          api_client = double('api_client')
          allow(api_client).to receive(:post)

          api = DataEntry.new(api_client)
          api.create(data_port_id: 1, log_path: 'log-path')
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
flydata-0.3.5 spec/flydata/api/data_entry_spec.rb
flydata-0.3.4 spec/flydata/api/data_entry_spec.rb
flydata-0.3.3 spec/flydata/api/data_entry_spec.rb
flydata-0.3.2 spec/flydata/api/data_entry_spec.rb
flydata-0.3.1 spec/flydata/api/data_entry_spec.rb
flydata-0.3.0 spec/flydata/api/data_entry_spec.rb
flydata-0.2.30 spec/flydata/api/data_entry_spec.rb
flydata-0.2.29 spec/flydata/api/data_entry_spec.rb
flydata-0.2.28 spec/flydata/api/data_entry_spec.rb
flydata-0.2.27 spec/flydata/api/data_entry_spec.rb
flydata-0.2.26 spec/flydata/api/data_entry_spec.rb
flydata-0.2.25 spec/flydata/api/data_entry_spec.rb
flydata-0.2.24 spec/flydata/api/data_entry_spec.rb
flydata-0.2.23 spec/flydata/api/data_entry_spec.rb
flydata-0.2.22 spec/flydata/api/data_entry_spec.rb
flydata-0.2.21 spec/flydata/api/data_entry_spec.rb
flydata-0.2.20 spec/flydata/api/data_entry_spec.rb
flydata-0.2.19 spec/flydata/api/data_entry_spec.rb
flydata-0.2.18 spec/flydata/api/data_entry_spec.rb
flydata-0.2.17 spec/flydata/api/data_entry_spec.rb