Sha256: 2bbfd393cf980e4b00f6cdf539a033b031e0e116b3d47b84860d2280c434600f

Contents?: true

Size: 513 Bytes

Versions: 15

Compression:

Stored size: 513 Bytes

Contents

require 'spec_helper'
require 'fileutils'

describe "jax" do
  before_generation do
    FileUtils.mkdir_p "config"
    File.open("config/routes.rb", "w") do |f|
      f.puts "Rails.application.routes.draw do"
      f.puts "end"
    end
  end
  
  it "should output generator list" do
    subject.should output("controller")
    subject.should output("helper")
    subject.should output("install")
    subject.should output("light")
    subject.should output("model")
    subject.should output("shader")
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jax-3.0.0.rc2 spec/generators/jax/jax_generator_spec.rb
jax-2.0.12 spec/generators/jax/jax_generator_spec.rb
jax-3.0.0.rc1 spec/generators/jax/jax_generator_spec.rb
jax-2.0.11 spec/generators/jax/jax_generator_spec.rb
jax-2.0.10 spec/generators/jax/jax_generator_spec.rb
jax-2.0.9 spec/generators/jax/jax_generator_spec.rb
jax-2.0.8 spec/generators/jax/jax_generator_spec.rb
jax-2.0.7 spec/generators/jax/jax_generator_spec.rb
jax-2.0.6 spec/generators/jax/jax_generator_spec.rb
jax-2.0.5 spec/generators/jax/jax_generator_spec.rb
jax-2.0.4 spec/generators/jax/jax_generator_spec.rb
jax-2.0.3 spec/generators/jax/jax_generator_spec.rb
jax-2.0.2 spec/generators/jax/jax_generator_spec.rb
jax-2.0.1 spec/generators/jax/jax_generator_spec.rb
jax-2.0.0 spec/generators/jax/jax_generator_spec.rb