Sha256: b5801e9facf6b2f5ae44587983a51573560c79fc546ee4f30483fac631fdef03
Contents?: true
Size: 561 Bytes
Versions: 6
Compression:
Stored size: 561 Bytes
Contents
require 'spec/helper' require 'example/session' describe 'example/session' do behaves_like :mock it 'starts at 0' do get('/').body.should =~ /Value is: 0/ end it 'increments the counter' do get('/increment').body.should =~ /Value is: 1/ get('/increment').body.should =~ /Value is: 2/ get('/increment').body.should =~ /Value is: 3/ end it 'decrements the counter' do get('/decrement').body.should =~ /Value is: 2/ get('/decrement').body.should =~ /Value is: 1/ get('/decrement').body.should =~ /Value is: 0/ end end
Version data entries
6 entries across 6 versions & 2 rubygems