Sha256: b7c96a490c1fe3ef302ade05c075db476ad5ef12a681e52cdb7f0b04c7e4dec6

Contents?: true

Size: 1.19 KB

Versions: 7

Compression:

Stored size: 1.19 KB

Contents

invoke 'hobo:subsite', %w[ subs --make-front-site=false -q]
desc "Subsite files exist"
files_exist? %w[ app/controllers/subs/subs_site_controller.rb
                 app/views/taglibs/subs_site.dryml ]
test_value_eql? true

desc "SiteController matches"
file_include? "app/controllers/subs/subs_site_controller.rb",
             'class Subs::SubsSiteController < ApplicationController',
             'hobo_controller'
test_value_eql? true


user_resource_name = 'User'
eval_file '../partials/_subsite_taglib_variables.rb'
eval_file '../partials/_subsite_taglib_noopt.rb'

git_reset_app

invoke 'hobo:assets', %w[ -q ]
invoke 'hobo:admin_subsite', %w[ subs -q --make-front-site=false]
eval_file '../partials/_subsite_taglib_admin.rb'

git_reset_app
invoke 'hobo:assets', %w[ -q ]
invoke 'hobo:admin_subsite', %w[ subs --make-front-site=false -q --invite-only]
eval_file '../partials/_subsite_taglib_admin_invite_only.rb'

git_reset_app
invoke 'hobo:assets', %w[ -q ]
invoke 'hobo:admin_subsite', %w[ subs --make-front-site=false --user-resource-name=account -q --invite-only]
user_resource_name = 'Account'
eval_file '../partials/_subsite_taglib_variables.rb'
eval_file '../partials/_subsite_taglib_admin_invite_only.rb'


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hobo-1.4.0.pre8 test/irt/generators/subsite.irt
hobo-1.4.0.pre7 test/irt/generators/subsite.irt
hobo-1.4.0.pre6 test/irt/generators/subsite.irt
hobo-1.4.0.pre5 test/irt/generators/subsite.irt
hobo-1.4.0.pre4 test/irt/generators/subsite.irt
hobo-1.4.0.pre3 test/irt/generators/subsite.irt
hobo-1.4.0.pre2 test/irt/generators/subsite.irt