GitHub
594ebc90

thoughtbot/clearance

A

Clearance::Generators::SpecsGenerator

Updated more than 3 months ago.
4
Complexity
3.5
Complexity / M
0
Duplication
0
Churn
13
Lines
11
Lines of Code
1
Methods
11
LOC / Method

No issues to see here. Woot.

require 'rails/generators/base'

module Clearance
  module Generators
    class SpecsGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def create_specs
        directory '.', 'spec'
      end
    end
  end
end