Sha256: 00210b6a2bb177dca026d5608ea4fad3f6f73638f604b7fda33b2da180ad251f

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

require 'spec_helper'

describe ActsAsFriendable::Friendship do
  let(:user) { User.create!({ first_name: 'James', last_name: 'Bond' }) }

  it "should respond to user" do
    ActsAsFriendable::Friendship.instance_methods.include?(:user).should be_true
  end

  it "should respond to friend" do
    ActsAsFriendable::Friendship.instance_methods.include?(:friend).should be_true
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_as_friendable-1.0.1 spec/acts_as_friendable/friendships_spec.rb
acts_as_friendable-1.0.0 spec/acts_as_friendable/friendships_spec.rb
acts_as_friendable-0.5.0 spec/acts_as_friendable/friendships_spec.rb