class BddRails::ExampleGenerator

Public Instance Methods

install_example_code() click to toggle source
# File lib/bdd_rails/example_generator.rb, line 5
def install_example_code
  directory 'app'
end
install_example_spec() click to toggle source
# File lib/bdd_rails/example_generator.rb, line 13
def install_example_spec
  directory 'spec'
end
install_route() click to toggle source
# File lib/bdd_rails/example_generator.rb, line 9
def install_route
  route 'resources :newsletter_subscriptions, only: [:new, :create]'
end