forked from sumitngupta/jasmine-gem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load jasmine_helper after configuring from yaml
- Allows users opportunity to add a Jasmine.configure block that overrides/augments jasmine.yml settings - File defaults to specs/javascript/support/jasmine_helper.rb but is configurable from jasmine.yml - *Only* processed if using jasmine.yml (which default rake tasks will do if jasmine.yml exists).
- Loading branch information
Showing
8 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
generators/jasmine/templates/spec/javascripts/support/jasmine_helper.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#Use this file to set/override Jasmine configuration options | ||
#You can remove it if you don't need it. | ||
#This file is loaded *after* jasmine.yml is interpreted. | ||
# | ||
#Example: using a different boot file. | ||
#Jasmine.configure do |config| | ||
# @config.boot_dir = '/absolute/path/to/boot_dir' | ||
# @config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] } | ||
#end | ||
# | ||
|
11 changes: 11 additions & 0 deletions
11
lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_helper.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#Use this file to set/override Jasmine configuration options | ||
#You can remove it if you don't need it. | ||
#This file is loaded *after* jasmine.yml is interpreted. | ||
# | ||
#Example: using a different boot file. | ||
#Jasmine.configure do |config| | ||
# @config.boot_dir = '/absolute/path/to/boot_dir' | ||
# @config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] } | ||
#end | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters