Sha256: bbe568988d7479c8290c83251756dadd7fa99763152a8a0244f45dc3198069cb
Contents?: true
Size: 758 Bytes
Versions: 1
Compression:
Stored size: 758 Bytes
Contents
require 'test_helper' class Ccls::AnalysisTest < ActiveSupport::TestCase assert_should_behave_like_a_hash assert_should_create_default_object assert_should_not_require_attributes( :analyst_id, :project_id, :analytic_file_creator_id, :analytic_file_created_date, :analytic_file_last_pulled_date, :analytic_file_location, :analytic_file_filename ) assert_should_belong_to( :analytic_file_creator, :analyst, :class_name => 'Person' ) assert_should_belong_to( :project ) assert_should_habtm( :study_subjects ) test "explicit Factory analysis test" do assert_difference('Analysis.count',1) { analysis = Factory(:analysis) assert_match /Key\d*/, analysis.key assert_match /Desc\d*/, analysis.description } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ccls-ccls_engine-3.11.0 | test/unit/ccls/analysis_test.rb |