Created
July 7, 2011 21:42
-
-
Save spastorino/1070615 to your computer and use it in GitHub Desktop.
test
This file contains hidden or 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
| ➜ /tmp ruby ~/WyeWorks/Projs/rails/bin/rails new myapp --dev | |
| create | |
| create README | |
| create Rakefile | |
| create config.ru | |
| create .gitignore | |
| create Gemfile | |
| create app | |
| create app/assets/images/rails.png | |
| create app/assets/javascripts/application.js | |
| create app/assets/stylesheets/application.css | |
| create app/controllers/application_controller.rb | |
| create app/helpers/application_helper.rb | |
| create app/mailers | |
| create app/models | |
| create app/views/layouts/application.html.erb | |
| create app/mailers/.gitkeep | |
| create app/models/.gitkeep | |
| create config | |
| create config/routes.rb | |
| create config/application.rb | |
| create config/environment.rb | |
| create config/environments | |
| create config/environments/development.rb | |
| create config/environments/production.rb | |
| create config/environments/test.rb | |
| create config/initializers | |
| create config/initializers/backtrace_silencers.rb | |
| create config/initializers/inflections.rb | |
| create config/initializers/mime_types.rb | |
| create config/initializers/secret_token.rb | |
| create config/initializers/session_store.rb | |
| create config/initializers/wrap_parameters.rb | |
| create config/locales | |
| create config/locales/en.yml | |
| create config/boot.rb | |
| create config/database.yml | |
| create db | |
| create db/seeds.rb | |
| create doc | |
| create doc/README_FOR_APP | |
| create lib | |
| create lib/tasks | |
| create lib/tasks/.gitkeep | |
| create lib/assets | |
| create lib/assets/.gitkeep | |
| create log | |
| create log/.gitkeep | |
| create public | |
| create public/404.html | |
| create public/422.html | |
| create public/500.html | |
| create public/favicon.ico | |
| create public/index.html | |
| create public/robots.txt | |
| create script | |
| create script/rails | |
| create test/fixtures | |
| create test/fixtures/.gitkeep | |
| create test/functional | |
| create test/functional/.gitkeep | |
| create test/integration | |
| create test/integration/.gitkeep | |
| create test/unit | |
| create test/unit/.gitkeep | |
| create test/performance/browsing_test.rb | |
| create test/test_helper.rb | |
| create tmp/cache | |
| create tmp/cache/.gitkeep | |
| create vendor/assets/stylesheets | |
| create vendor/assets/stylesheets/.gitkeep | |
| create vendor/plugins | |
| create vendor/plugins/.gitkeep | |
| run bundle install | |
| Updating git://github.com/rails/sass-rails | |
| Updating git://github.com/rails/coffee-rails | |
| Fetching source index for http://rubygems.org/ | |
| Using rake (0.9.2) | |
| Using i18n (0.6.0) | |
| Using multi_json (1.0.3) | |
| Using activesupport (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using bcrypt-ruby (2.1.4) | |
| Using builder (3.0.0) | |
| Using activemodel (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using erubis (2.7.0) | |
| Using rack (1.3.0) | |
| Using rack-cache (1.0.2) | |
| Using rack-mount (0.8.1) | |
| Using rack-test (0.6.0) | |
| Using hike (1.1.0) | |
| Using tilt (1.3.2) | |
| Using sprockets (2.0.0.beta.10) | |
| Using tzinfo (0.3.29) | |
| Using actionpack (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using mime-types (1.16) | |
| Using polyglot (0.3.1) | |
| Using treetop (1.4.9) | |
| Using mail (2.3.0) | |
| Using actionmailer (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using arel (2.1.3) | |
| Using activerecord (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using activeresource (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using ansi (1.3.0) | |
| Using bundler (1.0.15) | |
| Using coffee-script-source (1.1.1) | |
| Using execjs (1.2.0) | |
| Using coffee-script (2.2.0) | |
| Using rack-ssl (1.3.2) | |
| Using rdoc (3.8) | |
| Using thor (0.14.6) | |
| Using railties (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using coffee-rails (3.2.0.beta) from git://github.com/rails/coffee-rails (at master) | |
| Using jquery-rails (1.0.12) | |
| Using rails (3.2.0.beta) from source at /Users/santiago/WyeWorks/Projs/rails | |
| Using sass (3.1.4) | |
| Using sass-rails (3.1.1.alpha.0) from git://github.com/rails/sass-rails (at master) | |
| Using sqlite3 (1.3.3) | |
| Using turn (0.8.2) | |
| Using uglifier (1.0.0) | |
| Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. | |
| ➜ /tmp cd myapp | |
| ➜ myapp rails g scaffold post | |
| rake db:migrate | |
| invoke active_record | |
| create db/migrate/20110707214107_create_posts.rb | |
| create app/models/post.rb | |
| invoke test_unit | |
| create test/unit/post_test.rb | |
| create test/fixtures/posts.yml | |
| route resources :posts | |
| invoke scaffold_controller | |
| create app/controllers/posts_controller.rb | |
| invoke erb | |
| create app/views/posts | |
| create app/views/posts/index.html.erb | |
| create app/views/posts/edit.html.erb | |
| create app/views/posts/show.html.erb | |
| create app/views/posts/new.html.erb | |
| create app/views/posts/_form.html.erb | |
| invoke test_unit | |
| create test/functional/posts_controller_test.rb | |
| invoke helper | |
| create app/helpers/posts_helper.rb | |
| invoke test_unit | |
| create test/unit/helpers/posts_helper_test.rb | |
| invoke assets | |
| invoke coffee | |
| create app/assets/javascripts/posts.js.coffee | |
| invoke scss | |
| create app/assets/stylesheets/posts.css.scss | |
| invoke scss | |
| create app/assets/stylesheets/scaffolds.css.scss | |
| ➜ myapp rake db:migrate | |
| == CreatePosts: migrating ==================================================== | |
| -- create_table(:posts) | |
| -> 0.0010s | |
| == CreatePosts: migrated (0.0011s) =========================================== | |
| ➜ myapp rake test | |
| Loaded suite /Users/santiago/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_test_loader | |
| Started | |
| Finished in 0.003335 seconds. | |
| 0 tests, 0 assertions, 0 failures, 0 errors, 0 skips | |
| Loaded suite /Users/santiago/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_test_loader | |
| Started | |
| PostsControllerTest: | |
| ERROR should create post (0.06s) | |
| ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes: id | |
| /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb:47:in `process_removed_attributes' | |
| PASS should destroy post (0.01s) | |
| PASS should get edit (0.06s) | |
| PASS should get index (0.01s) | |
| PASS should get new (0.01s) | |
| PASS should show post (0.01s) | |
| ERROR should update post (0.00s) | |
| ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes: id | |
| /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb:47:in `process_removed_attributes' | |
| Finished in 0.157297 seconds. | |
| 7 tests, 7 assertions, 0 failures, 2 errors, 0 skips | |
| Errors running test:functionals! #<RuntimeError: Command failed with status (1): [/Users/santiago/.rvm/rubies/ruby-1.9.2-p18...]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment