Sha256: 0e6e112888968f24e0afbffb2eafd69f778fdd572b6b9c4bfb3833d0dda6ec1d

Contents?: true

Size: 899 Bytes

Versions: 17

Compression:

Stored size: 899 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_entries.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
#  created_at    :datetime
#  updated_at    :datetime
#  deleted_at    :datetime
#  state         :string(255)
#  solved        :boolean         default(FALSE), not null
#  note          :text
#

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
enju_question-0.0.21 spec/models/question_spec.rb
enju_question-0.0.20 spec/models/question_spec.rb
enju_question-0.0.19 spec/models/question_spec.rb
enju_question-0.0.18 spec/models/question_spec.rb
enju_question-0.0.17 spec/models/question_spec.rb
enju_question-0.0.16 spec/models/question_spec.rb
enju_question-0.0.15 spec/models/question_spec.rb
enju_question-0.0.14 spec/models/question_spec.rb
enju_question-0.0.13 spec/models/question_spec.rb
enju_question-0.0.12 spec/models/question_spec.rb
enju_question-0.0.11 spec/models/question_spec.rb
enju_question-0.0.10 spec/models/question_spec.rb
enju_question-0.0.9 spec/models/question_spec.rb
enju_question-0.0.8 spec/models/question_spec.rb
enju_question-0.0.7 spec/models/question_spec.rb
enju_question-0.0.6 spec/models/question_spec.rb
enju_question-0.0.5 spec/models/question_spec.rb