Sha256: e365adc188da65eb2c25ec4a512fec9a48177cde8c03403f317b885889de8c74

Contents?: true

Size: 544 Bytes

Versions: 83

Compression:

Stored size: 544 Bytes

Contents

require 'spec_helper'

connection = ActiveRecord::Base.connection
connection.drop_table :dogs rescue nil
connection.create_table :dogs do |t|
  # Nada
end

class Dog < ActiveRecord::Base
  tenon_content :content
end

describe Tenon::TenonContent do
  let(:dog) { Dog.new }
  it 'should respond_to :content_tenon_content_rows' do
    expect(dog).to respond_to(:content_tenon_content_rows)
  end

  it 'should respond_to :content_tenon_content_rows_attributes=' do
    expect(dog).to respond_to(:content_tenon_content_rows_attributes=)
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
tenon-1.1.8 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.7 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.6 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.5 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.4 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.3 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.2 spec/lib/tenon/tenon_content_spec.rb
tenon-1.1.1 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.76 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.75 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.74 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.73 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.72 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.71 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.70 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.69 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.68 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.67 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.66 spec/lib/tenon/tenon_content_spec.rb
tenon-1.0.65 spec/lib/tenon/tenon_content_spec.rb