Skip to content

Commit

Permalink
Suppress generating view spec
Browse files Browse the repository at this point in the history
  • Loading branch information
holysugar committed Apr 26, 2012
1 parent e84d55b commit eec36ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/generators/trial/scaffold_generator.rb
@@ -1,4 +1,9 @@
require 'rails/generators/rails/scaffold/scaffold_generator'
require 'generators/rspec/scaffold/scaffold_generator'

class Rspec::Generators::ScaffoldGenerator
def generate_view_specs; end
end

module Trial
module Generators
Expand Down Expand Up @@ -34,7 +39,6 @@ def print_notification
say " * Migrate DB (adding constraints if needed)"
end

undef generate_view_specs

end
end
Expand Down

0 comments on commit eec36ab

Please sign in to comment.