spec/app/models/commontator/thread_spec.rb~ in commontator-1.1.1 vs spec/app/models/commontator/thread_spec.rb~ in commontator-1.1.2
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
module Commontator
- describe Commontator::Thread do
+ describe Thread do
before do
setup_model_spec
end
it 'must have a config' do
@@ -102,10 +102,10 @@
@thread.subscription_for(@user).unread.must_equal 1
@thread.subscription_for(user2).unread.must_equal 0
end
it 'must be able to clear comments' do
- comment = Commontator::Comment.new
+ comment = Comment.new
comment.thread = @thread
comment.creator = @user
comment.body = 'Something'
comment.save!