changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/examples/pure/helper_method_example.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__) + '/spec_helper'
2
3module HelperMethodExample
4 describe "an example group with helper a method" do
5 def helper_method
6 "received call"
7 end
8
9 it "should make that method available to specs" do
10 helper_method.should == "received call"
11 end
12 end
13end
14