CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 07 Aug 2025 20:38:49 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090527235217
location: https://web.archive.org/web/20090527235217/https://github.com/dchelimsky/rspec/tree/1.2.5
server-timing: captures_list;dur=0.966233, exclusion.robots;dur=0.046993, exclusion.robots.policy;dur=0.026982, esindex;dur=0.015919, cdx.remote;dur=61.765952, LoadShardBlock;dur=839.224917, PetaboxLoader3.datanode;dur=102.744529, PetaboxLoader3.resolve;dur=212.254798
x-app-server: wwwb-app201
x-ts: 302
x-tr: 1115
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app201; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 07 Aug 2025 20:38:50 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Wed, 27 May 2009 23:52:17 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 647ms
x-archive-orig-etag: "d26e7d9fa78d231bb84e5b7dfb165b1e"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 33551
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 27 May 2009 23:52:17 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 27 May 2009 23:52:17 GMT", ; rel="memento"; datetime="Wed, 27 May 2009 23:52:17 GMT", ; rel="next memento"; datetime="Fri, 18 Sep 2009 11:39:47 GMT", ; rel="last memento"; datetime="Thu, 15 Apr 2010 09:29:46 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_9_20090527191916_crawl102-c/52_9_20090527235137_crawl101.arc.gz
server-timing: captures_list;dur=0.537025, exclusion.robots;dur=0.025791, exclusion.robots.policy;dur=0.016036, esindex;dur=0.012289, cdx.remote;dur=122.091186, LoadShardBlock;dur=266.060836, PetaboxLoader3.datanode;dur=198.366116, PetaboxLoader3.resolve;dur=141.983004, load_resource;dur=151.823550
x-app-server: wwwb-app201
x-ts: 200
x-tr: 652
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
dchelimsky's rspec at 1.2.5 - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Behaviour Driven Development framework for Ruby |
Homepage: | https://rspec.info |
Clone URL: |
git://github.com/dchelimsky/rspec.git
Give this clone URL to anyone.
git clone git://github.com/dchelimsky/rspec.git
|
commit 2d3163022e2a03a66a89b90117d10ee30d77d364
tree fbf033a3091b7716d6ec7f9b3d1bdc5acc855800
parent 84f54a60b9c8ef1fa4caf04a3c1a8654fad8db5b
tree fbf033a3091b7716d6ec7f9b3d1bdc5acc855800
parent 84f54a60b9c8ef1fa4caf04a3c1a8654fad8db5b
rspec /
RSpec
DESCRIPTION:
RSpec is a Behaviour Driven Development framework for writing executable code examples.
FEATURES:
- Spec::Example provides a framework for organizing executable code examples
- Spec::Expectations adds #should and #should_not to every object
- Spec::Matchers provides Expression Matchers for use with #should and #should_not
- Spec::Mocks is a full featured mock object/stubbing library
SYNOPSIS:
describe Account do context "transfering money" do it "deposits transfer amount to the other account" do source = Account.new(50, :USD) target = mock('target account') target.should_receive(:deposit).with(Money.new(5, :USD)) source.transfer(5, :USD).to(target) end it "reduces its balance by the transfer amount" do source = Account.new(50, :USD) target = stub('target account') source.transfer(5, :USD).to(target) source.balance.should == Money.new(45, :USD) end end end $ spec spec/account_spec.rb --format nested Account transfering money deposits transfer amount to the other account reduces its balance by the transfer amount 2 examples, 0 failures
INSTALL:
[sudo] gem install rspec or clone, build, install - See https://wiki.github.com/dchelimsky/rspec
This feature is coming soon. Sit tight!