Sha256: a83a243ad10925493a61a33584db08e4de7f8aa2211014418bb064c77e480606

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

module Stationed
  module Generators
    module Plugins
      module Rspec
        def finish_template
          gem 'simplecov', group: :test
          gem 'rspec-rails', group: [:development, :test]
          copy_file 'simplecov', '.simplecov'
          super
        end

        def run_bundle
          super
          generate 'rspec:install'
          remove_file 'spec/spec_helper.rb'
          copy_file 'spec_helper.rb', 'spec/spec_helper.rb'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stationed-0.0.1 lib/stationed/generators/plugins/rspec.rb