Sha256: 82474d90e4c8d0cef819fd9f39529bf452d186412615f62c97b4d8fc25ab386f

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

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

set :environment, :test

describe 'App' do

  include Rack::Test::Methods
  
  def app
    Sinatra::Application
  end
  
  it "should pick the spec files for autotest and display error messages with growl" do
    get '/'
    last_response.should be_ok
    last_response.body.should == 'It works!!!'
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
andhapp-decoct-1.8.4 lib/templates/spec/app_spec.rb
andhapp-decoct-1.9.5 lib/templates/spec/app_spec.rb
andhapp-decoct-1.9.6 lib/templates/spec/app_spec.rb
andhapp-decoct-1.9.7 lib/templates/spec/app_spec.rb
andhapp-decoct-1.9.8 lib/templates/spec/app_spec.rb