Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require File.dirname(__FILE__) + '/../spec_helper'
- describe FoosHelper do
- it "should do something" do
- helper.some_helper_method.should == @something
- end
- end
- require 'test_helper'
- class YourHelperTest < ActionView::TestCase
- test "should work" do
- assert_equal "result", your_helper_method
- end
- end
- require File.dirname(__FILE__) + ‘/../test_helper’
- require ‘user_helper’
- class UserHelperTest < Test::Unit::TestCase
- include UserHelper
- def test_a_user_helper_method_here
- end
- end
- require File.dirname(__FILE__) + '/../spec_helper'
- describe FoosHelper do
- it "should do something" do
- helper.some_helper_method.should == @something
- end
- end
Add Comment
Please, Sign In to add comment