Sha256: c068e298482e96ea13e7f75a90fbb48f29e3dcaef61f489076b9ca813e39ef23

Contents?: true

Size: 277 Bytes

Versions: 7

Compression:

Stored size: 277 Bytes

Contents

require 'spec/helper'
require 'example/hello'

describe 'example/hello' do
  behaves_like :rack_test

  should 'have index action' do
    got = get('/')
    got.status.should == 200
    got['Content-Type'].should == 'text/html'
    got.body.should == 'Hello, World!'
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
manveru-innate-2009.06.12 spec/example/hello.rb
manveru-innate-2009.06 spec/example/hello.rb
rjspotter-innate-2009.06.29 spec/example/hello.rb
rjspotter-innate-2009.06.30 spec/example/hello.rb
rjspotter-innate-2009.06.31 spec/example/hello.rb
innate-2009.06 spec/example/hello.rb
innate-2009.06.12 spec/example/hello.rb