CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 07 Aug 2025 19:34:53 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090623193032
location: https://web.archive.org/web/20090623193032/https://github.com/dchelimsky/rspec/tree/
server-timing: captures_list;dur=3.116595, exclusion.robots;dur=0.039395, exclusion.robots.policy;dur=0.017136, esindex;dur=0.020033, cdx.remote;dur=70.356930, LoadShardBlock;dur=869.015187, PetaboxLoader3.resolve;dur=662.616566, PetaboxLoader3.datanode;dur=126.878602
x-app-server: wwwb-app225
x-ts: 302
x-tr: 985
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app225; 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 301
server: nginx
date: Thu, 07 Aug 2025 19:34:54 GMT
content-type: text/html; charset=utf-8
content-length: 112
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Tue, 23 Jun 2009 19:30:31 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--884981fc5aa85daf318eeff084d98e2cff92578f; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090623193032/https://github.com/dchelimsky/rspec/tree/master
x-archive-orig-x-runtime: 10ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 112
cache-control: max-age=1800
memento-datetime: Tue, 23 Jun 2009 19:30:32 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 14 Mar 2008 19:32:31 GMT", ; rel="prev memento"; datetime="Wed, 17 Jun 2009 06:33:34 GMT", ; rel="memento"; datetime="Tue, 23 Jun 2009 19:30:32 GMT", ; rel="next memento"; datetime="Wed, 19 Aug 2009 00:20:36 GMT", ; rel="last memento"; datetime="Mon, 03 Jan 2022 22:05:52 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_10_20090623134656_crawl102-c/52_10_20090623192952_crawl101.arc.gz
server-timing: captures_list;dur=0.519022, exclusion.robots;dur=0.023635, exclusion.robots.policy;dur=0.011245, esindex;dur=0.010600, cdx.remote;dur=41.747112, LoadShardBlock;dur=369.280290, PetaboxLoader3.datanode;dur=237.984238, PetaboxLoader3.resolve;dur=428.890044, load_resource;dur=336.142175
x-app-server: wwwb-app225
x-ts: 301
x-tr: 774
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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 19:34:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Tue, 23 Jun 2009 19:30:32 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 150ms
x-archive-orig-etag: "0d553f9bb86a2a051a4be444771f8cdd"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 37925
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 23 Jun 2009 19:30:32 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 08 Mar 2008 20:41:23 GMT", ; rel="prev memento"; datetime="Wed, 17 Jun 2009 06:33:34 GMT", ; rel="memento"; datetime="Tue, 23 Jun 2009 19:30:32 GMT", ; rel="next memento"; datetime="Fri, 10 Jul 2009 02:06:42 GMT", ; rel="last memento"; datetime="Sat, 10 Aug 2024 08:39:49 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_10_20090623134656_crawl102-c/52_10_20090623192952_crawl101.arc.gz
server-timing: captures_list;dur=0.803312, exclusion.robots;dur=0.027861, exclusion.robots.policy;dur=0.013804, esindex;dur=0.019053, cdx.remote;dur=22.884890, LoadShardBlock;dur=271.235839, PetaboxLoader3.datanode;dur=108.210344, PetaboxLoader3.resolve;dur=426.782854, load_resource;dur=267.936828
x-app-server: wwwb-app225
x-ts: 200
x-tr: 639
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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 master - 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 edit |
Homepage: | https://rspec.info edit |
Public Clone URL: |
git://github.com/dchelimsky/rspec.git
Give this clone URL to anyone.
git clone git://github.com/dchelimsky/rspec.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:dchelimsky/rspec.git
|
rspec /
RSpec
- rspec.info
- rubyforge.org/projects/rspec
- github.com/dchelimsky/rspec/wikis
- rspec-users@rubyforge.org
- rspec-devel@rubyforge.org
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!