Sha256: 35637e94b0d9314f8ad48385af65c8031a9b3d45e6ece7aec9ad2097dc81393e

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

describe Fit::File::Data do
  describe ".generate" do
    let(:definition) do
      Fit::File::Definition.read example_file('record/message/definition')
    end

    subject { described_class.generate(definition) }

    its(:ancestors) { should include(BinData::Record) }
    its("new.record_type") { should eq(:file_id) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
garmin-fit-0.0.2 spec/file/data_spec.rb