Sha256: 83bdd90f16452e4b5b6e38f8c694df43e573d3a03dfb85ed7817488e8c878f78

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

require 'spec_helper'
require 'rails/generators/ripple_generator'

describe RippleGenerator do
  it "should invoke the sub-generators" do
    %w{configuration js test}.each do |gen|
      generator.should_receive(:invoke).with("ripple:#{gen}")
    end
    run_generator
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
wyngle-ripple-0.1.0 spec/generators/ripple_generator_spec.rb
ripple-1.0.0.beta2 spec/generators/ripple_generator_spec.rb