File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
tests/acceptance/bulletins Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -59,25 +59,14 @@ test("it can create a new bulletin", assert => {
59
59
test ( "it populates default values" , assert => {
60
60
authenticateSession ( application , sessionData ) ;
61
61
62
- const group = server . create ( "group" ) ;
63
- page . visit ( { groupSlug : group . slug } ) ;
64
-
65
- andThen ( ( ) => {
66
- assert . equal ( page . name , "Sunday Worship Service" ) ;
67
- assert . equal ( page . serviceOrder , "" ) ;
68
- equalDate ( assert , page . publishedAt , nextService ( ) ) ;
69
- } ) ;
70
- } ) ;
71
-
72
- test ( "it defaults to last week's service order when available" , assert => {
73
- authenticateSession ( application , sessionData ) ;
74
-
75
62
const group = server . create ( "group" ) ;
76
63
const lastWeekBulletin = server . create ( "bulletin" , { group } ) ;
77
64
78
65
page . visit ( { groupSlug : group . slug } ) ;
79
66
80
67
andThen ( ( ) => {
68
+ assert . equal ( page . name , "Sunday Worship Service" ) ;
69
+ equalDate ( assert , page . publishedAt , nextService ( ) ) ;
81
70
assert . equal ( page . serviceOrder , lastWeekBulletin . serviceOrder ) ;
82
71
} ) ;
83
72
} ) ;
You can’t perform that action at this time.
0 commit comments