Sha256: 799f9bd63b269083d636291f7bff3432bd918e9f812e84e73be8da40c1f1b8c2

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
Bundler.require(:web)
require File.join($app_root, 'app')

describe App do
  include Rack::Test::Methods

  def app
    App.new
  end

  describe "\n  GET /" do
    it "should respond successfully" do
      get '/'
      last_response.status.must_equal 200
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/_app/spec/app_spec.rb
daiku-0.2.1 lib/daiku/_app/spec/app_spec.rb
daiku-0.2.0 lib/daiku/_app/spec/app_spec.rb
daiku-0.1.1 lib/daiku/_app/spec/app_spec.rb
daiku-0.1.0 lib/daiku/_app/spec/app_spec.rb
daiku-0.0.12 lib/daiku/_app/spec/app_spec.rb