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.0.0.pre.alpha.3 spec/integration/resources/engine_version_spec.rb
locomotivecms_coal-1.0.0.pre.alpha.2 spec/integration/resources/engine_version_spec.rb