Sha256: f9ed5771eec137c337f6f4ce2b3db3016a8908009ff57dc4329851f3e4dc8d63
Contents?: true
Size: 374 Bytes
Versions: 17
Compression:
Stored size: 374 Bytes
Contents
require 'spec_helper' class Helper include Rails3::Assist::BaseHelper end describe 'BaseHelper' do describe '#marker_option' do it "should return marker option" do helper = Helper.new helper.stubs(:model_marker).returns 'Account' res = helper.send :marker_option, :account, :type => :model res[:after].should == 'Account' end end end
Version data entries
17 entries across 17 versions & 1 rubygems