]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/pure/helper_method_example.rb
Show whether a trace is public or private in the trace list, so that a user can easil...
[rails.git] / vendor / gems / rspec-1.1.2 / examples / pure / helper_method_example.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 module 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
13 end
14