Sha256: 28c64e922ea9bfc6117b1abaa70483adafc0d448a18f5dbf3d1ce72c6447cfcc

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

require 'test_helper'

module Commontator
  describe ThreadsHelper do
    before do
      setup_helper_spec
    end
    
    it 'must print commontable name' do
      commontable_name(@thread).must_equal 'dummy model'
    end
    
    it 'must print commontable id' do
      commontable_id(@thread).must_equal @thread.commontable_id
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commontator-4.0.2 spec/app/helpers/commontator/threads_helper_spec.rb
commontator-4.0.1 spec/app/helpers/commontator/threads_helper_spec.rb
commontator-4.0.0 spec/app/helpers/commontator/threads_helper_spec.rb