Sha256: dd4c39d430d8c0c874915bcafe0dfced9a8018a15e54d780a8d0209b537950b5

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

require 'minitest_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

8 entries across 7 versions & 1 rubygems

Version Path
commontator-2.0.2 spec/app/helpers/commontator/threads_helper_spec.rb~
commontator-2.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~
commontator-2.0.1 spec/app/helpers/commontator/threads_helper_spec.rb
commontator-2.0.0 spec/app/helpers/commontator/threads_helper_spec.rb
commontator-1.1.3 spec/app/helpers/commontator/threads_helper_spec.rb
commontator-1.1.2 spec/app/helpers/commontator/threads_helper_spec.rb