[rspec-users] specing a model to make sure it implements act_as_authentic

2010-12-07 Thread ssmithstone
Is it possible to spec that a model should acts_as_authentic which is from the authlogic gem? I'm using rspec-1.3.x Cheers Stephen ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] specing controller post

2010-02-02 Thread ssmithstone
A bit stuck here being new to ruby and rspec Im trying to spec out a rails controller and using machinist to generate a model so in my spec i have it "should create new client" do // creates me a hash of generated values using Foregey client = Client.plan // specify that I should b

Re: [rspec-users] Noob syntax questions regarding rspec book...

2009-07-07 Thread ssmithstone
I to am in the same situation and the meaning of the /^ $/ is a regular expression so it matches yours features so in your features is you do Give some random text I guess some more random test the code would run against that given method, hope that makes sense and that's my view of the code On