Sha256: 786cf7ad5035f04440ae946b709f91f264be1ba8246e328765da2fcdd4d45b79

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

require 'spec_helper'

describe Fit::File::Header do
  context "given a sample FIT header" do
    subject do
      described_class.read example_file('file/header')
    end

    its(:header_size) { should == 12 }
    its(:protocol_version) { should == 16 }
    its(:profile_version) { should == 64 }
    its(:data_size) { should == 36069 }
    its(:data_type) { should == ".FIT" }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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