Displaying 10 results from an estimated 10 matches similar to: "Using Rspec for web tests"
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi
i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and
i can''t able to run my existing application.
error occurred :
run command for server "script/server -e production -p 3001"
error:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification
2009 May 25
3
[rspec] http://rspec.info examples are broken
It seems that some examples at http://rspec.info are broken with
invalid html.
For example: http://rspec.info/documentation/before_and_after.html
All those spans there should not be visible, I think :) Isn''t
rspec.info web tested well enough? :P
Best regards,
Jarmo
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
2013 Oct 21
8
git push not working
<https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf_kHsug/s1600/git.gif>
Hi again,
I''m working on http://ruby.railstutorial.org
section
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-git_push
I''m trying to push the repository to the remote site but what ever I fials.
I''ve updated, removed the s of the https etc but still
2010 Mar 26
5
"invalid byte sequence in US-ASCII" on i18n form
I''m getting the error "invalid byte sequence in US-ASCII" when using i18n on
Rails 3.0.0beta with Ruby 1.9.1. I''ve searched extensively on Google and the
problem seems to happen with 2.3.x versions as well (when using Ruby 1.9.1).
I just set the default language to portuguese and added this locale file:
2012 Sep 16
0
tutorail test writing problem
Hello,
I try to follow this tutorial :
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
Im now at chapter 3.2.1.
But the test is still failing even if I do everything according to the
chapter.
My code can be found here : https://github.com/roelof1967/demo_app
And the faiing message is :
Failures:
1) Static pages Home page should have the content ''Sample App''
2008 May 08
7
Rspec Stories / Selenium Nightmare
I have been using Rspec stories with Webrat feeling very productive and
happy.
Then I needed to do something with Selenium (Webrat could have done what
I needed but it does not yet have the functionality).
Selenium-core as part of a rails plugin looked nice but did not seem to
fit with rspec stories. So I went the Selenium-rc route.
Since Selenium uses a separate instance of rails
2013 Oct 23
9
rails generate scaffold - ERROR
Hi,
I just installed ROR using the rvm using these instructions:
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Using Ubuntu 12 on VirtualBox
I''m trying to create a demo_app
rails generate scaffold User name:string email:string
gives me this error:
--
/home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
`autodetect'': Could not
2004 Aug 25
0
Problem with Domain Administrator rights in samba 3.0.2
ALL
I have set-up Samba to run as a PDC its been running great now for over 6
months with no probs. I am looking to add to this by setting up a Domain
Administrator so I can run audits, remote patch updates, reg hacks etc. I
have followed the instructions but have I have no domain rights with 'Domain
Admins' but i do have domain rights with 'Admin Users'.
Heres my set-up.
Any
2005 Feb 09
85
Introduce yourself and your project -- Round 2
On December 14th, 2004 David Heinemeier Hansson sent this to the mailing
list:
I''m seeing a lot of new names on the list. Could
we perhaps do a round of introductions? That would
also be a great first post, if you haven''t had a
chance to contribute yet. The basics should include
your name, your organization, your country and city,
and the project you''re