changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/spec/spec/story/extensions_spec.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1require File.dirname(__FILE__) + '/story_helper'
2
3require 'spec/story'
4
5describe Kernel, "#Story" do
6 before(:each) do
7 Kernel.stub!(:at_exit)
8 end
9
10 it "should delegate to ::Spec::Story::Runner.story_runner" do
11 ::Spec::Story::Runner.story_runner.should_receive(:Story)
12 story = Story("title","narrative"){}
13 end
14end