spec/models/card/create_spec.rb in card-1.19.6 vs spec/models/card/create_spec.rb in card-1.20.0
- old
+ new
@@ -1,10 +1,10 @@
# -*- encoding : utf-8 -*-
# FIXME: this shouldn't be here
describe Card::Set::Type::Cardtype, ".create with :codename" do
- it "should work" do
+ it "works" do
card = Card.create! name: "Foo Type", codename: "foo",
type: "Cardtype"
expect(card.type_code).to eq(:cardtype)
end
end
@@ -14,10 +14,10 @@
Card::Auth.as_bot do
@c = Card.new name: "New Card", content: "Great Content"
end
end
- it "should not override explicit content with default content" do
+ it "does not override explicit content with default content" do
Card::Auth.as_bot do
Card.create! name: "blue+*right+*default", content: "joe", type: "Pointer"
c = Card.new name: "Lady+blue", content: "[[Jimmy]]"
expect(c.content).to eq("[[Jimmy]]")
end