Question: I'm trying to build some unit tests for testing my Rails helpers, but I can never remember how to access them. Annoying. Suggestions?

Answer: 
In rails 3 you can do this (and in fact it's what the generator creates):

```
require 'test_helper'

class YourHelperTest < ActionView::TestCase
  test "should work" do
    assert_equal "result", your_helper_method
  end
end

```

And of course [the rspec variant by Matt Darby](https://stackoverflow.com/a/441298/1152564) works in rails 3 too
You can do the same in RSpec as:

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

describe FoosHelper do

  it "should do something" do
    helper.some_helper_method.should == @something
  end

end

```