-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
49 additions
and
129 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ dryml/lib/doc | |
doc | ||
dryml/doc | ||
.yardoc | ||
.rvmrc | ||
Gemfile | ||
Gemfile.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
require File.expand_path('../helper.rb', __FILE__) | ||
|
||
|
||
desc "hobo:assets invoke" | ||
invoke 'hobo:assets', %w(-q) | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
require File.expand_path('../helper.rb', __FILE__) | ||
|
||
|
||
invoke 'hobo:controller' , %w(houses -q) | ||
|
||
eval_file '../partials/_house_controller_tests.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
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
2 changes: 0 additions & 2 deletions
2
hobo/test/irt/generators/partials/_accounts_users_controller_tests.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
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
2 changes: 0 additions & 2 deletions
2
hobo/test/irt/generators/partials/_default_users_controller_tests.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
desc "Taglib admin file matches" | ||
file_include?( "app/views/taglibs/subs_site.dryml", tags, admin_tag ) && | ||
desc "Taglib admin file matches inclusions" | ||
file_include?( "app/views/taglibs/subs_site.dryml", tags, admin_tag ) | ||
test_value_eql? true | ||
|
||
desc "Taglib admin file matches exclusions" | ||
file_exclude?("app/views/taglibs/subs_site.dryml", invite_only) | ||
test_value_eql? true |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
desc "Taglib file matches" | ||
file_include?("app/views/taglibs/subs_site.dryml", tags) && | ||
file_include?("app/views/taglibs/subs_site.dryml", tags) === true && | ||
file_exclude?("app/views/taglibs/subs_site.dryml", admin_tag, invite_only) | ||
test_value_eql? true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
require File.expand_path('../helper.rb', __FILE__) | ||
|
||
|
||
desc "hobo:rapid invoke" | ||
invoke 'hobo:rapid', %w(-q) | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,5 @@ | ||
require File.expand_path('../helper.rb', __FILE__) | ||
|
||
|
||
user_resource_name = 'User' | ||
eval_file '../partials/_subsite_taglib_variables.rb' | ||
|
||
invoke 'hobo:subsite_taglib', %w[ subs -q] | ||
eval_file '../partials/_subsite_taglib_noopt.rb' | ||
|
||
git_reset_app | ||
invoke 'hobo:subsite_taglib', %w[ subs -q --admin] | ||
eval_file '../partials/_subsite_taglib_admin.rb' | ||
|
||
git_reset_app | ||
invoke 'hobo:subsite_taglib', %w[ subs -q --admin --invite-only] | ||
eval_file '../partials/_subsite_taglib_admin_invite_only.rb' | ||
|
||
git_reset_app | ||
invoke 'hobo:subsite_taglib', %w[ subs --user-resource-name=account -q --admin --invite-only] | ||
user_resource_name = 'Account' | ||
eval_file '../partials/_subsite_taglib_variables.rb' | ||
eval_file '../partials/_subsite_taglib_admin_invite_only.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
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
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
In order to run the tests, you need git and irt installed, then run: | ||
|
||
$ rake irt_test_all | ||
$ rake test:irt | ||
|
||
or if you are testing a local repo of hobo, from the hobo repo root: | ||
or if you are testing a local repo of hobo, you need to set the: | ||
|
||
$ rake HOBO_DEV_ROOT=. irt_test_all | ||
$ export HOBODEV=<hobo_repo_root_path> | ||
|
||
With HOBODEV set, if you are using rvm, the <hobo_repo_root_path>/.rvmrc file will be duplicated into | ||
the created testapp, so your test will use the same rvm settings. |
Oops, something went wrong.