File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 120120 },
121121 "homepage" : " https://github.com/ekonstantinidis/gitify" ,
122122 "dependencies" : {
123- "auto-launch" : " ^ 0.1.18" ,
123+ "auto-launch" : " = 0.1.18" ,
124124 "bootstrap" : " =3.3.4" ,
125125 "browserify" : " =10.2.1" ,
126126 "font-awesome" : " =4.3.0" ,
Original file line number Diff line number Diff line change @@ -39,21 +39,26 @@ describe('Tests for SettingsStore', function () {
3939 it ( 'should get the settings' , function ( ) {
4040
4141 spyOn ( SettingsStore , 'trigger' ) ;
42-
4342 expect ( SettingsStore . getSettings ( ) . participating ) . toBe ( false ) ;
4443
4544 } ) ;
4645
4746 it ( 'should set a setting' , function ( ) {
4847
4948 spyOn ( SettingsStore , 'trigger' ) ;
50-
5149 SettingsStore . onSetSetting ( 'participating' , true ) ;
52-
5350 expect ( SettingsStore . getSettings ( ) . participating ) . toBe ( true ) ;
5451
5552 } ) ;
5653
54+ it ( 'should set the setting: openAtStartup ' , function ( ) {
55+
56+ spyOn ( SettingsStore , 'trigger' ) ;
57+ SettingsStore . onSetSetting ( 'openAtStartup' , true ) ;
58+ expect ( SettingsStore . getSettings ( ) . openAtStartup ) . toBe ( true ) ;
59+
60+ } ) ;
61+
5762} ) ;
5863
5964describe ( 'Tests for SettingsStore' , function ( ) {
You can’t perform that action at this time.
0 commit comments