Sha256: a2265708b02d66e568a30fdbee24a50ee8bd85d83afb63f7ac5ed3d82c85662e

Contents?: true

Size: 350 Bytes

Versions: 11

Compression:

Stored size: 350 Bytes

Contents

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

describe Card::Set::All::Trash do
  
  it "certain 'all rules' should be indestructable" do
    Card::Auth.as_bot do
      name = '*all+*default'
      card = Card[name]
      card.delete
      expect(card.errors[:delete].first).to eq("#{name} is an indestructible rule")
      expect(Card[name]).to be
    end
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wagn-1.14.7 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.6 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.5 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.4 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.3 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.2 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.1 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.0 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.0.pre3 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.0.pre2 mod/01_core/spec/set/all/trash_spec.rb
wagn-1.14.0.pre1 mod/01_core/spec/set/all/trash_spec.rb