Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (18 sloc) 0.543 kB
require 'spec_helper'
# This was added to prove that http://rspec.lighthouseapp.com/projects/5645/tickets/211
# was fixed in ruby 1.9.1
module HelperMethodExample
describe "a helper method" do
def helper_method
"received call"
end
it "is available to examples in the same group" do
helper_method.should == "received call"
end
describe "from a nested group" do
it "is available to examples in a nested group" do
helper_method.should == "received call"
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.