Sha256: 1c47b8894491029371e01b3a745bb6933fb759f7976b5f363dd0c43c44361435

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

require 'spec_helper'

describe Fit::File::RecordHeader do
  context "given a sample normal header" do
    subject do
      described_class.read example_file('record/normal_header')
    end

    its(:header_type) { should == 0 }
    its(:message_type) { should == 1 }
    its(:local_message_type) { should == 0 }

    it { should be_normal }
    it { should_not be_a_compressed_timestamp }
  end

  context "given a sample compressed timestamp header" do
    # TODO
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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