Sha256: d4b2893ff292a731f2a7fe6f435b343d7efbb48e32bc0c965744602545ab653c
Contents?: true
Size: 880 Bytes
Versions: 13
Compression:
Stored size: 880 Bytes
Contents
require 'spec_helper' describe 'jax:install' do before_generation do FileUtils.mkdir_p "config" FileUtils.touch "config/routes.rb" end it "should mount Jax::Engine in routes" do subject.should generate(:route) end it "should generate Coffee application helper" do subject.should generate("app/assets/jax/helpers/application_helper.js.coffee") end it "should generate Coffee application controller" do subject.should generate("app/assets/jax/controllers/application_controller.js.coffee") end with_args "--without-coffeescript" do it "should generate JS application controller" do subject.should generate("app/assets/jax/controllers/application_controller.js") end it "should generate JS application helper" do subject.should generate("app/assets/jax/helpers/application_helper.js") end end end
Version data entries
13 entries across 13 versions & 1 rubygems