Sha256: 7b9d5b561d7e946513871f7d2010f15789369081ac2cfa555dbed399d0b5a30b

Contents?: true

Size: 351 Bytes

Versions: 4

Compression:

Stored size: 351 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe Gator::Application do

  before :each do
    @app = Gator::Application.new
  end

  it "should print the correct version" do
    version =  File.read( File.dirname(__FILE__) + '/../../../VERSION' )
    @app.should_receive(:say).with(version)
    @app.version
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gator-0.0.25.pre spec/core/application/application_spec.rb
gator-0.0.24.pre spec/core/application/application_spec.rb
gator-0.0.23.pre spec/core/application/application_spec.rb
gator-0.0.22.pre spec/core/application/application_spec.rb