Sha256: 3f077f6638ea6d9cc7f8ba3a8d07c30f5d54e8add43afb4aa54ec41987e7b0b6

Contents?: true

Size: 269 Bytes

Versions: 66

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe Activity do
  before(:all) do
    @activity = Factory(:activity)
  end

  it "should be destroyed along with its author" do
    author = @activity.author

    author.destroy

    Activity.find_by_id(@activity.id).should be_nil
  end
end

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/spec/integration/activity.rb
social_stream-base-2.2.2 spec/integration/activity.rb
social_stream-2.2.1 base/spec/integration/activity.rb
social_stream-base-2.2.1 spec/integration/activity.rb
social_stream-2.2.0 base/spec/integration/activity.rb
social_stream-base-2.2.0 spec/integration/activity.rb
social_stream-2.1.1 base/spec/integration/activity.rb
social_stream-1.1.12 base/spec/integration/activity.rb
social_stream-base-1.1.11 spec/integration/activity.rb
social_stream-2.1.0 base/spec/integration/activity.rb
social_stream-base-2.1.0 spec/integration/activity.rb
social_stream-2.0.4 base/spec/integration/activity.rb
social_stream-base-2.0.4 spec/integration/activity.rb
social_stream-2.0.3 base/spec/integration/activity.rb
social_stream-base-2.0.3 spec/integration/activity.rb
social_stream-1.1.11 base/spec/integration/activity.rb
social_stream-base-1.1.10 spec/integration/activity.rb
social_stream-1.1.10 base/spec/integration/activity.rb
social_stream-base-1.1.9 spec/integration/activity.rb
social_stream-1.1.9 base/spec/integration/activity.rb