Sha256: 00933fee3417b12fbeec968d558fa038ecbe697762bd8fd54b97511605da0e1c

Contents?: true

Size: 249 Bytes

Versions: 10

Compression:

Stored size: 249 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "a context with helper a method" do
  def helper_method
    "received call"
  end
  
  it "should make that method available to specs" do
    helper_method.should == "received call"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rspec-1.0.0 examples/helper_method_example.rb
rspec-0.9.0 examples/helper_method_example.rb
rspec-0.9.1 examples/helper_method_example.rb
rspec-0.9.2 examples/helper_method_example.rb
rspec-0.9.3 examples/helper_method_example.rb
rspec-0.9.4 examples/helper_method_example.rb
rspec-1.0.1 examples/helper_method_example.rb
rspec-1.0.2 examples/helper_method_example.rb
rspec-1.0.3 examples/helper_method_example.rb
rspec-1.0.4 examples/helper_method_example.rb