One of the things I really liked about TestNG was the grouping
feature. Are there any plans for rSpec to incorporate that? Is there
any way to emulate that functionality in rspec?
Will.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://ruby
In case it isn't clear... I agree with Ivo's statement:
"You should not stub the authentication method in a story. The story
should test the whole application framework".
emphasis on "story"
Zach
On Fri, Mar 7, 2008 at 11:13 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 1
We do something very very similar but rather then
it_should_behave_like we wrap it in a it_requires_login method...
describe SomeController do
it_requires_login
end
Zach
On Fri, Mar 7, 2008 at 11:53 AM, Max Williams
<[EMAIL PROTECTED]> wrote:
> I found it a little confusing to stub my authenti
I found it a little confusing to stub my authentication filters as well, but
figured it out with a little help from the interwebs:
in spec_helper i have this:
describe "a controller requiring login", :shared => true do
it "should have login_required set in the before filter" do
contro
Oh, sorry, and this line in your specs to actually mock the filter:
mock_login_required
:)
On 07/03/2008, Max Williams <[EMAIL PROTECTED]> wrote:
>
> I found it a little confusing to stub my authentication filters as well,
> but figured it out with a little help from the interwebs:
>
> in spec_h
On Thu, Mar 6, 2008 at 10:38 AM, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 7:27 AM, Ivo Dancet <[EMAIL PROTECTED]> wrote:
> > You should not stub the authentication method in a story. The story
> > should test the whole application framework, that way your story might
> >