Sha256: a51c537d689e0d0a8feae409475e64214c83debb70edfe2af6ddc3dd4bdaffd7

Contents?: true

Size: 406 Bytes

Versions: 63

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'
require 'flydata/api/data_entry'

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

63 entries across 63 versions & 1 rubygems

Version Path
flydata-0.7.4 spec/flydata/api/data_entry_spec.rb
flydata-0.7.2.1 spec/flydata/api/data_entry_spec.rb
flydata-0.7.2 spec/flydata/api/data_entry_spec.rb
flydata-0.7.1 spec/flydata/api/data_entry_spec.rb
flydata-0.7.0 spec/flydata/api/data_entry_spec.rb
flydata-0.6.14 spec/flydata/api/data_entry_spec.rb
flydata-0.6.13 spec/flydata/api/data_entry_spec.rb
flydata-0.6.12 spec/flydata/api/data_entry_spec.rb
flydata-0.6.11 spec/flydata/api/data_entry_spec.rb
flydata-0.6.10 spec/flydata/api/data_entry_spec.rb
flydata-0.6.9 spec/flydata/api/data_entry_spec.rb
flydata-0.6.8 spec/flydata/api/data_entry_spec.rb
flydata-0.6.7 spec/flydata/api/data_entry_spec.rb
flydata-0.6.6 spec/flydata/api/data_entry_spec.rb
flydata-0.6.5 spec/flydata/api/data_entry_spec.rb
flydata-0.6.4 spec/flydata/api/data_entry_spec.rb
flydata-0.6.3 spec/flydata/api/data_entry_spec.rb
flydata-0.6.2 spec/flydata/api/data_entry_spec.rb
flydata-0.6.1 spec/flydata/api/data_entry_spec.rb
flydata-0.6.0 spec/flydata/api/data_entry_spec.rb