small step on features

This commit is contained in:
2023-01-05 17:04:05 +02:00
parent e68188b1a8
commit fd302f5901
7 changed files with 26 additions and 3 deletions

View File

@ -37,7 +37,8 @@ class CardsTest < ActionDispatch::IntegrationTest
end
def test_remove_image_force
visit "merged/cards/6/set_image?image=''"
first = Merged::Card.first.id
visit "merged/cards/#{first}/set_image?image=''"
assert_text page , "No image"
end
end

View File

@ -7,7 +7,7 @@ module Merged
end
def test_has_all
assert_equal CardStyle.all.length , 6
assert CardStyle.all.length > 5
end
def test_has_fields