Sha256: 8c6e0c0d230773156c374e7616480036a298751feca9bb73aeed17693e70a372

Contents?: true

Size: 179 Bytes

Versions: 9

Compression:

Stored size: 179 Bytes

Contents

require 'spec_helper'

describe Article do
  it "has many comments" do
    Article.instance_methods.should include 'comments'
    Article.new.comments.should be_an Array
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
governor_comments-0.2.7 spec/models/article_spec.rb
governor_comments-0.2.6 spec/models/article_spec.rb
governor_comments-0.2.5 spec/models/article_spec.rb
governor_comments-0.2.4 spec/models/article_spec.rb
governor_comments-0.2.3 spec/models/article_spec.rb
governor_comments-0.2.2 spec/models/article_spec.rb
governor_comments-0.2.1 spec/models/article_spec.rb
governor_comments-0.2.0 spec/models/article_spec.rb
governor_comments-0.1.2 spec/models/article_spec.rb