Sha256: 0ff51083eea8abf04a74e7f76525a0f7b80ee916b83dda67a3108524f4add202

Contents?: true

Size: 343 Bytes

Versions: 18

Compression:

Stored size: 343 Bytes

Contents

require File.expand_path('../../helper', __FILE__)
require File.expand_path('../../../example/hello', __FILE__)

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

18 entries across 18 versions & 2 rubygems

Version Path
innate-2023.01.06 spec/example/hello.rb
innate-2015.10.28 spec/example/hello.rb
manveru-innate-2009.07 spec/example/hello.rb
innate-2013.02.21 spec/example/hello.rb
innate-2013.02 spec/example/hello.rb
innate-2012.12 spec/example/hello.rb
innate-2012.03 spec/example/hello.rb
innate-2011.12 spec/example/hello.rb
innate-2011.10 spec/example/hello.rb
innate-2011.04 spec/example/hello.rb
innate-2011.01 spec/example/hello.rb
innate-2010.07 spec/example/hello.rb
innate-2010.06.18 spec/example/hello.rb
innate-2010.04 spec/example/hello.rb
innate-2010.03 spec/example/hello.rb
innate-2010.01 spec/example/hello.rb
innate-2009.10 spec/example/hello.rb
innate-2009.07 spec/example/hello.rb