Sha256: c02993fc4b69eeb3e104c01d124ddc5d4430292d1795e29edd0f70ab385cf51a

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 Bytes

Contents

%w{spec spec/interop/test sinatra/test}.each {|x| require x}

set :environment, :test

describe 'App' do
  include Sinatra::Test

  it "should pick the spec files for autotest and display error messages with snarl" do
    get '/'
    response.should be_ok
    response.body.should == 'It works!!!'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
andhapp-decoct-1.4.0 lib/templates/spec/app_spec.rb
andhapp-decoct-1.4.1 lib/templates/spec/app_spec.rb
andhapp-decoct-1.4.2 lib/templates/spec/app_spec.rb
andhapp-decoct-1.4.3 lib/templates/spec/app_spec.rb