small step on features
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user