Sha256: bf39ef3b9dcd498a9fc1081eb50055974915e987abc9b34f77442bef5a9d62d4

Contents?: true

Size: 821 Bytes

Versions: 9

Compression:

Stored size: 821 Bytes

Contents

require 'spec_helper'
require 'generators/genesis/seed/seed_generator'

describe Genesis::SeedGenerator do

  with_args 'create_users' do

    xit "should generate the correct seed file" do
      # subject.should generate( // )# { |content|
        # content.should == File.read( File.join( source_root, src ) )
      # }
    end

  end

  with_args 'create_users production' do

    xit "should generate the correct seed file" do
      # subject.should generate( // )# { |content|
        # content.should == File.read( File.join( source_root, src ) )
      # }
    end

  end

  with_args '--help' do

    it "should ouput the correct description in the help message" do
      subject.should output( "Description:\n  Creates the specified seed file (optionally within a specificied environment)." )
    end

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
genesis-1.10.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.9.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.8.2 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.8.1 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.8.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.7.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.6.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.5.0 spec/generators/genesis/seed/seed_generator_spec.rb
genesis-1.4.0 spec/generators/genesis/seed/seed_generator_spec.rb