[rspec-users] Assign default tag

2013-03-19 Thread Иван Неверов
Hi all Could somebody tell me, is it possible to assign some tag=>value to all examples in directory? Like I want to mark all tests in spec/unit as :type=>'shallow'. And have some tests in other directory also with type shallow (assigned in describe) And then filter them with -t type:shallow Tha

Re: [rspec-users] Assign default tag

2013-03-19 Thread David Chelimsky
On Tue, Mar 19, 2013 at 7:20 AM, Иван Неверов wrote: > Hi all > Could somebody tell me, is it possible to assign some tag=>value to all > examples in directory? > > Like I want to mark all tests in spec/unit as :type=>'shallow'. And have > some tests in other directory also with type shallow (assi

Re: [rspec-users] Assign default tag

2013-03-19 Thread Perry Smith
On Mar 19, 2013, at 10:41 AM, David Chelimsky wrote: > On Tue, Mar 19, 2013 at 7:20 AM, Иван Неверов wrote: >> Hi all >> Could somebody tell me, is it possible to assign some tag=>value to all >> examples in directory? >> >> Like I want to mark all tests in spec/unit as :type=>'shallow'. And ha

Re: [rspec-users] Assign default tag

2013-03-19 Thread David Chelimsky
On Tue, Mar 19, 2013 at 9:52 AM, Perry Smith wrote: > > On Mar 19, 2013, at 10:41 AM, David Chelimsky wrote: > >> On Tue, Mar 19, 2013 at 7:20 AM, Иван Неверов wrote: >>> Hi all >>> Could somebody tell me, is it possible to assign some tag=>value to all >>> examples in directory? >>> >>> Like I w