Re: [rspec-users] Can have_selector Match Only Part of an Elements Class String?

2010-03-01 Thread DanS
On Mar 1, 2:26 pm, David Chelimsky wrote: > On Mon, Mar 1, 2010 at 4:24 PM, DanS wrote: > > I would like to find a way to check for the existence of a class on a > > element in a calendar.  The s are the days of the calendar > > and can have various classes assigned.  I want to test if a day h

Re: [rspec-users] Integration testing without cucumber

2010-03-01 Thread drewB
That fixed it! Thanks! Any idea why that was needed for integration specs and not MVCs? On Mar 1, 3:04 pm, David Chelimsky wrote: > On Mon, Mar 1, 2010 at 4:59 PM, drewB wrote: > > Belwo is a spec that when used with the default spec_helper fails > > with: > > > NoMethodError in 'test matchers

Re: [rspec-users] Integration testing without cucumber

2010-03-01 Thread David Chelimsky
On Mon, Mar 1, 2010 at 4:59 PM, drewB wrote: > Belwo is a spec that when used with the default spec_helper fails > with: > > NoMethodError in 'test matchers should be able to find be_success' > undefined method `be_success' for > # > > -- > > require 'spec_helper' > > describe "test matche

Re: [rspec-users] Integration testing without cucumber

2010-03-01 Thread drewB
Belwo is a spec that when used with the default spec_helper fails with: NoMethodError in 'test matchers should be able to find be_success' undefined method `be_success' for # -- require 'spec_helper' describe "test matchers" do it "should be able to find be_success" do get '/'

Re: [rspec-users] Can have_selector Match Only Part of an Elements Class String?

2010-03-01 Thread David Chelimsky
On Mon, Mar 1, 2010 at 4:24 PM, DanS wrote: > I would like to find a way to check for the existence of a class on a > element in a calendar.  The s are the days of the calendar > and can have various classes assigned.  I want to test if a day has > the 'past' class and don't care (in this test) i

[rspec-users] Can have_selector Match Only Part of an Elements Class String?

2010-03-01 Thread DanS
I would like to find a way to check for the existence of a class on a element in a calendar. The s are the days of the calendar and can have various classes assigned. I want to test if a day has the 'past' class and don't care (in this test) if other classes (weekend, today, etc) are present. S

Re: [rspec-users] Integration testing without cucumber

2010-03-01 Thread Wincent Colaiuta
El 01/03/2010, a las 21:32, drewB escribió: > I need to create some integration tests without cucumber. Can anyone > point me in the right direction for how to do that in rails? I tried > creating specs under 'spec/integration/' but no matchers are being > included. I also tried rspec_integratio

Re: [rspec-users] Integration testing without cucumber

2010-03-01 Thread Joseph Wilk
drewB wrote: I need to create some integration tests without cucumber. Can anyone point me in the right direction for how to do that in rails? I tried creating specs under 'spec/integration/' but no matchers are being included. I also tried rspec_integration plugin (http://github.com/ tricycle/

[rspec-users] Integration testing without cucumber

2010-03-01 Thread drewB
I need to create some integration tests without cucumber. Can anyone point me in the right direction for how to do that in rails? I tried creating specs under 'spec/integration/' but no matchers are being included. I also tried rspec_integration plugin (http://github.com/ tricycle/rspec-integrati