Sha256: aac8f1c4ae0a0f0d89fa76b920e33522989b5dd4b3501e1022b6f3c8e83c5767

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

require 'spec_helper'

describe MyApp do
  
  def app
    MyApp
  end

  it "says hello" do
    get '/'
    last_response.should be_ok
    last_response.body.should match("MyApp!")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-template-1.1.0 template_app/spec/apps/my_app_spec.rb
sinatra-template-1.0.0 template/spec/apps/my_app_spec.rb