Sha256: 802689e3469bf4b55bb267933e3ed53093484b932431e5bd5ad94e5e471a604b
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
require 'spec_helper' class Helper include RailsAssist::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
7 entries across 7 versions & 1 rubygems