Sha256: 6cbca2a6a00051089e6a6841c9022ff2e1ac8950e9ab6df4e0f56a42540b72b7

Contents?: true

Size: 672 Bytes

Versions: 13

Compression:

Stored size: 672 Bytes

Contents

# == Schema Information
#
# Table name: recommendations
#
#  id               :integer(4)      not null, primary key
#  entry_id         :integer(4)
#  dest_entry_id    :integer(4)
#  rank             :integer(4)
#  relevance        :decimal(8, 6)   default(0.0)
#  clicks           :integer(4)      default(0)
#  avg_time_at_dest :integer(4)      default(60)
#

require File.dirname(__FILE__) + '/../test_helper'

class RecommendationTest < ActiveSupport::TestCase

  context "recommendation" do
    setup do
      @recommendation = Factory(:recommendation)
    end

    subject { @recommendation }

    should_belong_to :entry
    should_belong_to :dest_entry
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
muck-services-0.1.47 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.46 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.45 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.44 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.43 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.42 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.41 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.40 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.39 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.38 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.37 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.36 test/rails_root/test/unit/recommendation_test.rb
muck-services-0.1.35 test/rails_root/test/unit/recommendation_test.rb