Sha256: 4c701b6e6e06a3df48efbe8f4ae7015e7bcf2392ed09f739f41400fc2da50ed0

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe 'version module' do

  it 'should deprecate FRAMEWORK_VERSION cleanly' do
    expect(Calabash::Cucumber::FRAMEWORK_VERSION).to be == nil
  end

  it 'should handle non-defined constants with NameError' do
    expect{ Calabash::Cucumber::MISSING_CONSTANT }.to raise_error(NameError, 'uninitialized constant Calabash::Cucumber::MISSING_CONSTANT')
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
calabash-cucumber-0.10.0.pre1 spec/version_spec.rb
calabash-cucumber-0.9.169 spec/version_spec.rb