-
-
Save pedrobrasileiro/723421 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ autotest | |
loading autotest/rails_rspec2 | |
style: RailsRspec2 | |
-------------------------------------------------------------------------------- | |
/Users/dchelimsky/.rvm/rubies/ruby-1.8.7-p249/bin/ruby -rrubygems /Users/dchelimsky/.rvm/gems/ruby-1.8.7-p249/gems/rspec-core-2.0.0.beta.6/bin/rspec /Users/dchelimsky/tmp/example/spec/models/widget_spec.rb /Users/dchelimsky/tmp/example/spec/views/widgets/show.html.erb_spec.rb /Users/dchelimsky/tmp/example/spec/views/widgets/edit.html.erb_spec.rb /Users/dchelimsky/tmp/example/spec/views/widgets/new.html.erb_spec.rb /Users/dchelimsky/tmp/example/spec/controllers/widgets_controller_spec.rb /Users/dchelimsky/tmp/example/spec/views/widgets/index.html.erb_spec.rb | |
*................... | |
Finished in 0.13672 seconds | |
20 examples, 0 failures, 1 pending | |
Pending: | |
Widget add some examples to (or delete) /Users/dchelimsky/tmp/example/spec/models/widget_spec.rb | |
# /Users/dchelimsky/tmp/example/spec/models/widget_spec.rb:4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails example | |
cd example | |
echo "gem 'rspec-rails', '>= 2.0.0.beta.7'" >> Gemfile | |
echo "gem 'autotest-rails'" >> Gemfile | |
echo "gem 'autotest'" >> Gemfile | |
bundle install | |
script/rails g rspec:install | |
script/rails g scaffold widget name:string | |
rake db:migrate && rake db:test:prepare | |
autotest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment