Sha256: 7bfa2eadf7d6c3564bee376b00cb47ca8c13081e226dffabbe74e26efc28dc42

Contents?: true

Size: 289 Bytes

Versions: 20

Compression:

Stored size: 289 Bytes

Contents

require_relative "spec_helper"

def app
  ApplicationController
end

describe ApplicationController do
  it "responds with a welcome message" do
    get '/'
    expect(last_response.status).to eq(200)
    expect(last_response.body).to include("Welcome to the Sinatra Template!")
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
corneal-new-1.3.1 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-new-1.3.0 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-1.2.3 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.6 lib/natra/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.5 lib/natra/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.4 lib/natra/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.3 lib/natra/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.2 lib/natra/generators/app/templates/spec/application_controller_spec.rb
natra-0.0.1 lib/natra/generators/app/templates/spec/application_controller_spec.rb
corneal-1.2.2 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-1.2.1 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-1.2.0 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-1.1.0 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-1.0.0 lib/corneal/generators/app/templates/spec/application_controller_spec.rb
corneal-0.1.5 lib/templates/spec/application_controller_spec.rb
corneal-0.1.4 lib/templates/spec/application_controller_spec.rb
corneal-0.1.3 lib/templates/spec/application_controller_spec.rb
corneal-0.1.2 lib/templates/spec/application_controller_spec.rb
corneal-0.1.1 lib/templates/spec/application_controller_spec.rb
corneal-0.1.0 lib/templates/spec/application_controller_spec.rb