Sha256: b30880691f462875f88ce1c0b9babe11b5d1bc8630eb50483ba8596e48f11b43

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Contact do
  context "inverse" do
    before do
      @sent = Factory(:contact)
      @received = @sent.inverse!
    end

    it "should be set" do
      @sent.reload.inverse.should eq(@received)
    end
  end


end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
social_stream-base-0.6.1 spec/models/contact_spec.rb
social_stream-base-0.6.0 spec/models/contact_spec.rb