Skip to content

Instantly share code, notes, and snippets.

@muratayusuke
Created April 29, 2012 08:59
Show Gist options
  • Save muratayusuke/2548587 to your computer and use it in GitHub Desktop.
Save muratayusuke/2548587 to your computer and use it in GitHub Desktop.
cucumber hello world in Japanese
$ rails new cuctest
$ cd cuctest
$ emacs Gemfile
#add following
group :development, :test do
gem 'rspec-rails', ">= 2.0.0.beta"
gem 'cucumber-rails'
gem 'database_cleaner'
end
$ bundle install
$ rails generate rspec:install
$ rails generate cucumber:install ja —rspec —capybara -webrat
$ rake db:migrate
$ rake cucumber
/Users/muratayusuke/.rvm/rubies/ruby-1.9.3-p0/bin/ruby -S bundle exec cucumber --profile default
Using the default profile...
0 scenarios
0 steps
0m0.000s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment