Skip to content

Commit

Permalink
Fixed failing tests when Willow-Bootstrap is not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Aug 9, 2017
1 parent 97d70d5 commit a32e85c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ testCheckboxLabeledOnModelOffModelApplying
checkboxLabeled: 'Labelization'
onModel: 3
offModel: 'the off'
applying: (ComponentClassificationCommand toStyleWith: BootstrapCssStyles backgroundPrimary).
applying: (ComponentClassificationCommand toStyleWith: 'big').

html := self render: checkbox.

self
assert: html
equals:
'<input class="bg-primary" checked="checked" name="1" id="checkbox-id2" type="checkbox"/><input name="3" type="hidden"/><label for="checkbox-id2">Labelization</label>'
'<input class="big" checked="checked" name="1" id="checkbox-id2" type="checkbox"/><input name="3" type="hidden"/><label for="checkbox-id2">Labelization</label>'
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ testCheckboxUnlabeledOnModelOffModelApplying
checkbox := supplier
checkboxUnlabeledOnModel: 3
offModel: 'the off'
applying: (ComponentClassificationCommand toStyleWith: BootstrapCssStyles backgroundPrimary).
applying: (ComponentClassificationCommand toStyleWith: 'big').

html := self render: checkbox.

self
assert: html
equals:
'<input class="bg-primary" checked="checked" name="1" type="checkbox"/><input name="2" type="hidden"/>'
'<input class="big" checked="checked" name="1" type="checkbox"/><input name="2" type="hidden"/>'
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"testAsynchronicAnchorLabeledApplying" : "MaximilianoTabacman 8/8/2017 09:22",
"testUpdateRoot" : "GabrielOmarCotelli 4/25/2017 11:16",
"testFieldSetContainingApplyingWithLegendApplying" : "MaximilianoTabacman 8/8/2017 20:35",
"testCheckboxUnlabeledOnModelOffModelApplying" : "MaximilianoTabacman 8/8/2017 10:01",
"testCheckboxLabeledOnModelOffModelApplying" : "MaximilianoTabacman 8/8/2017 10:01",
"testCheckboxUnlabeledOnModelOffModelApplying" : "GabrielOmarCotelli 8/9/2017 11:09",
"testCheckboxLabeledOnModelOffModelApplying" : "GabrielOmarCotelli 8/9/2017 11:09",
"testDropdownListApplying" : "GabrielOmarCotelli 4/25/2017 11:14",
"testDateFieldApplying" : "GabrielOmarCotelli 4/20/2017 16:55"
},
Expand Down
Loading

0 comments on commit a32e85c

Please sign in to comment.