Sha256: 7e914927281cfe52098a1013cbffe04a055109a921667903d578bb6723298d58

Contents?: true

Size: 684 Bytes

Versions: 18

Compression:

Stored size: 684 Bytes

Contents

invoke 'hobo:front_controller', %w[ -q ]
desc "All files exist"
files_exist? %w( app/controllers/front_controller.rb app/helpers/front_helper.rb app/views/front/index.dryml )
test_value_eql? true

desc "public/index.html removed"
File.exists? 'public/index.html'
test_value_eql? false


desc "front_controller.rb content matches"
file_include? 'app/controllers/front_controller.rb',
              'hobo_controller',
              'def index',
              'def search'
test_value_eql? true


desc "Routes added"
file_include? 'config/routes.rb',
              %(match 'search' => 'front#search', :as => 'site_search'),
              %(root :to => 'front#index')
test_value_eql? true

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hobo-2.1.1 test/irt/generators/front_controller.irt
hobo-2.1.0 test/irt/generators/front_controller.irt
hobo-2.1.0.pre4 test/irt/generators/front_controller.irt
hobo-2.1.0.pre3 test/irt/generators/front_controller.irt
hobo-2.1.0.pre2 test/irt/generators/front_controller.irt
hobo-2.1.0.pre1 test/irt/generators/front_controller.irt
hobo-2.0.1 test/irt/generators/front_controller.irt
hobo-2.0.0 test/irt/generators/front_controller.irt
hobo-2.0.0.pre10 test/irt/generators/front_controller.irt
hobo-2.0.0.pre9 test/irt/generators/front_controller.irt
hobo-2.0.0.pre8 test/irt/generators/front_controller.irt
hobo-2.0.0.pre7 test/irt/generators/front_controller.irt
hobo-2.0.0.pre6 test/irt/generators/front_controller.irt
hobo-2.0.0.pre5 test/irt/generators/front_controller.irt
hobo-2.0.0.pre4 test/irt/generators/front_controller.irt
hobo-2.0.0.pre3 test/irt/generators/front_controller.irt
hobo-2.0.0.pre2 test/irt/generators/front_controller.irt
hobo-2.0.0.pre1 test/irt/generators/front_controller.irt