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