Sha256: 372e6ebf4032eff824816a2b68f323966819aa945d8ce9cb47a6ca740bfa4248

Contents?: true

Size: 462 Bytes

Versions: 22

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

describe Locomotive::Coal::Resources::EngineVersion do

  before { VCR.insert_cassette 'version' }
  after  { VCR.eject_cassette }

  let(:uri)             { TEST_SITE_API_V3_URI }
  let(:credentials)     { { email: TEST_API_EMAIL, token: api_token } }
  let(:engine_version)  { described_class.new(uri, credentials) }

  describe '#version' do
    subject { engine_version.version }
    it { is_expected.to match(/\A\d\..+/) }
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
locomotivecms_coal-1.7.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.6.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.6.0.rc2 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.6.0.rc1 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.6.0.beta1 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.5.1 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.5.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.4.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.3.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.3.0.rc1 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.3.0.rc spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.2.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.1.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.rc4 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.rc3 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.rc2 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.rc1 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.pre.beta.2 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.pre.beta.1 spec/integration/resources/engine_version_spec.rb