Sha256: 67859ab9a6447ed8484ce384fc070c1eef9f8a31bddaf9cf046150c4e1ab5f32

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 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
      card.errors[:delete].first.should == "#{name} is an indestructible rule"
      Card[name].should be
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wagn-1.13.0 spec/mod/core/set/all/trash_spec.rb
wagn-1.13.0.pre2 spec/mods/core/sets/all/trash_spec.rb
wagn-1.13.0.pre1 spec/mods/core/sets/all/trash_spec.rb
wagn-1.13.0.pre spec/mods/core/sets/all/trash_spec.rb