Sha256: 2d7fe919338acc3c75d4242d48ddb7c13eee6f4dca20bbc436aa103c39fa1958
Contents?: true
Size: 936 Bytes
Versions: 1
Compression:
Stored size: 936 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe Question do fixtures :questions use_vcr_cassette "enju_ndl/crd", :record => :new_episodes it "test_should_get_crd_search" do result = Question.search_crd(:query_01 => 'Yahoo') result.should be_true result.total_count.should > 0 end it "should respond to last_updated_at" do questions(:question_00001).last_updated_at end end # == Schema Information # # Table name: questions # # id :integer not null, primary key # user_id :integer not null # body :text # shared :boolean default(TRUE), not null # answers_count :integer default(0), not null # deleted_at :datetime # state :string(255) # solved :boolean default(FALSE), not null # note :text # created_at :datetime not null # updated_at :datetime not null #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_question-0.1.0.pre4 | spec/models/question_spec.rb |