Balint Erdi wrote:
Hey,
I am writing a simple cucumber feature for a Rails app to test if the
webrat+selenium integration was successful:
Scenario: Successful log in
Given the user "pepito" exists # (1)
And the user "pepito" is active
When I go to the login page
And I fill in "
On Mon, Mar 23, 2009 at 6:10 PM, Bjorn Boulder wrote:
> Spec::Rails people,
>
> I'm curious about:
> - model.should have(1).error_on(:attribute)
>
> displayed in the URL below:
> http://rspec.rubyforge.org/rspec-rails/1.2.2/classes/Spec/Rails/Extensions/ActiveRecord/InstanceMethods.html
>
> The
My gems, e.g. rspec, gets installed in:
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2
(Note the extra /gems/ subdirectory)
When I run "gem rdoc rspec" the output is empty and the Files section
has errors:
file not found -/Library/Ruby/Gems/1.8/rspec-1.2.2/rdoc/License.txt-
file not found -/Library/Rub
Spec::Rails people,
I'm curious about:
- model.should have(1).error_on(:attribute)
displayed in the URL below:
http://rspec.rubyforge.org/rspec-rails/1.2.2/classes/Spec/Rails/Extensions/ActiveRecord/InstanceMethods.html
The Rspec peepcode screencast suggests that
model.should have(1).error_
Hey,
I am writing a simple cucumber feature for a Rails app to test if the
webrat+selenium integration was successful:
Scenario: Successful log in
Given the user "pepito" exists # (1)
And the user "pepito" is active
When I go to the login page
And I fill in "login" with "pepito"
2009/3/23 Charles Grindel :
> Hi, David,
>
> I forgot to generate rspec after the upgrade. That fixed the problem.
> Thanks for your help.
Glad you got it working.
Cheers,
David
>
> Thanks,
> Chuck
>
> On Mon, Mar 23, 2009 at 2:41 PM, David Chelimsky
> wrote:
>>
>> 2009/3/23 Charles Grindel :
Hi, David,
I forgot to generate rspec after the upgrade. That fixed the problem.
Thanks for your help.
Thanks,
Chuck
On Mon, Mar 23, 2009 at 2:41 PM, David Chelimsky wrote:
> 2009/3/23 Charles Grindel :
> > Hi,
> >
> > I am following the directions for setting up autotest
> > (
> http://wiki.g
2009/3/23 Charles Grindel :
> Hi,
>
> I am following the directions for setting up autotest
> (http://wiki.github.com/dchelimsky/rspec/spec_server-autospec-nearly-pure-bdd-joy)
> and experienced an error when I run rake spec:server:start.
>
> $ rake spec:server:start
> (in /home/cgrindel/code/it/we
Hi,
I am following the directions for setting up autotest (
http://wiki.github.com/dchelimsky/rspec/spec_server-autospec-nearly-pure-bdd-joy)
and experienced an error when I run rake spec:server:start.
$ rake spec:server:start
(in /home/cgrindel/code/it/webapp)
Starting up spec_server ...
/home/c
Hi all,
Got this silly idea that I'd like to run two instances of autospec -
- one for features
- the other for specs
However I can't work out how to run just the features on their own - can
anyone help?
TIA
Andrew
___
rspec-users mailing list
rsp
2009/3/23 Charles Grindel :
> Hi,
>
> I have read the Rspec-Rails page
> (http://wiki.github.com/dchelimsky/rspec/rails) describing the different
> installation procedures for RSpec and Rails. Since I am running Rails
> 2.0.5, I followed the instructions under "Install an RSpec release >= 1.1.4
>
On Mon, Mar 23, 2009 at 9:45 AM, Scott Taylor wrote:
> andrea wrote:
>>
>> Hi,
>> I recently migrated from classic rails testing to Rspec, so I am
>> pretty new to the framework and still learning. I am getting weird
>> errors on an ActiveRecord model test, here is the basic class model
>> definit
andrea wrote:
Hi,
I recently migrated from classic rails testing to Rspec, so I am
pretty new to the framework and still learning. I am getting weird
errors on an ActiveRecord model test, here is the basic class model
definition:
class Size < ActiveRecord::Base
has_many :quantities, :dependent
Hi,
I have read the Rspec-Rails page (
http://wiki.github.com/dchelimsky/rspec/rails) describing the different
installation procedures for RSpec and Rails. Since I am running Rails
2.0.5, I followed the instructions under "Install an RSpec release >= 1.1.4
in Rails <= 2.1.0". In these instructio
On Mon, Mar 23, 2009 at 4:41 AM, andrea wrote:
> Hi,
> I recently migrated from classic rails testing to Rspec, so I am
> pretty new to the framework and still learning. I am getting weird
> errors on an ActiveRecord model test, here is the basic class model
> definition:
>
> class Size < ActiveRe
On 23 Mar, 10:41, andrea wrote:
[cut]
BTW I am using rails 2.3.2, rspec and rails-spec version 1.2.0
Andrea
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi,
I recently migrated from classic rails testing to Rspec, so I am
pretty new to the framework and still learning. I am getting weird
errors on an ActiveRecord model test, here is the basic class model
definition:
class Size < ActiveRecord::Base
has_many :quantities, :dependent => :destroy
v
17 matches
Mail list logo