Sha256: 1bee5d6382c7f85751d54c1aaa9ba08a409a7ad7b2dd4c223fe081f81412e8a8

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

require 'spec_helper'

describe Flms::TargetStateKeyframe do
  describe 'defaults' do
    it 'initializes correct defaults for a target keyframe' do
      k = Flms::TargetStateKeyframe.new
      expect(k.scroll_start).to be_nil
      expect(k.scroll_duration).to eql 100
      expect(k.width).to eql 1.0
      expect(k.height).to eql 1.0
      expect(k.position_x).to eql 0.5
      expect(k.position_y).to eql 0.5
      expect(k.opacity).to eql 1.0
      expect(k.scale).to eql 1.0
      expect(k.blur).to eql 0.0
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flms-0.9.0 spec/models/target_state_keyframe_spec.rb
flms-0.1.0 spec/models/target_state_keyframe_spec.rb