Sha256: 12a310deffef6976b9abc560bca3551ee4221f13e9bf4b99ab936e7dd8d45993

Contents?: true

Size: 441 Bytes

Versions: 14

Compression:

Stored size: 441 Bytes

Contents

# -*- encoding : utf-8 -*-

describe Card::Set::Self::FollowDefaults do
  context 'when updated' do
    before do
      Card::Auth.as_bot do
        @card = Card[:follow_defaults]
        @card.update_all_users = true
        @card.update_attributes! content: '[[A+*self+*always]]'
      end
    end

    it 'updates follow rules of users' do
      ca = Card.fetch 'A'
      expect(ca.follower_names).to include "Joe User"
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
card-1.17.4 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.17.3 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.17.2 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.17.1 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.17.0 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.15 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.14 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.13 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.12 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.11 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.10 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.9 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.8 mod/05_email/spec/set/self/follow_defaults_spec.rb
card-1.16.7 mod/05_email/spec/set/self/follow_defaults_spec.rb