Sha256: 5c31a18fa1463dec26628cf1705604a7fb1a5feab4db417bcfc951aba4c0f09c

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 Bytes

Contents

require 'spec_helper'

describe Flms::EndStateKeyframe do
  describe 'defaults' do
    it 'initializes correct defaults for an end keyframe' do
      k = Flms::EndStateKeyframe.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 0.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/end_state_keyframe_spec.rb
flms-0.1.0 spec/models/end_state_keyframe_spec.rb