Hi there,
I've just started using rspec and rspec-rails (both are the newest version
on git repository).
I met some inconsistently behavior on it method and its method.
The following is the way to reproduce it:
command line:
> script/generate spec_controller product show
Modify a file spec/prod
Still can't get consistent behavior with -l, consider the following..
test_spec.rb
> describe SomeModule
> it # special it
> describe "some method of the module"
> it... # 'lonely it'
> it... # 'lonely it'
> it..
Hi,
On Thu, Jan 13, 2011 at 22:08, Amit Kulkarni wrote:
> I had used Fixtures and factory girl for preloading of data in earlier
> version rspec.
> Is there any new thing for loading of data in rspec 2 or do we have to
> use the same.
I have a spec/fixtures/ directory containing YAML files with
On Jan 13, 2011, at 4:17 PM, Michael Guterl wrote:
> On Thu, Jan 13, 2011 at 4:40 PM, David Chelimsky wrote:
>>
>> On Jan 13, 2011, at 3:17 PM, Michael Guterl wrote:
>>
>>> We're upgrading a rails 2.3.x application to Rails 3. When running
>>> `rake spec` no specs are running.
>>>
>>> $ rake
On Thu, Jan 13, 2011 at 4:40 PM, David Chelimsky wrote:
>
> On Jan 13, 2011, at 3:17 PM, Michael Guterl wrote:
>
>> We're upgrading a rails 2.3.x application to Rails 3. When running
>> `rake spec` no specs are running.
>>
>> $ rake spec --trace
>> (in /Users/michaelguterl/code/rm/board)
>> ** In
On Jan 13, 2011, at 3:17 PM, Michael Guterl wrote:
> We're upgrading a rails 2.3.x application to Rails 3. When running
> `rake spec` no specs are running.
>
> $ rake spec --trace
> (in /Users/michaelguterl/code/rm/board)
> ** Invoke spec (first_time, not_needed)
>
> $ gem list | grep rspec
>
We're upgrading a rails 2.3.x application to Rails 3. When running
`rake spec` no specs are running.
$ rake spec --trace
(in /Users/michaelguterl/code/rm/board)
** Invoke spec (first_time, not_needed)
$ gem list | grep rspec
rspec (2.4.0)
rspec-core (2.4.0)
rspec-expectations (2.4.0)
rspec-mocks
On Jan 13, 10:36 am, Kurt wrote:
> Hi -- Thanks for sharing all your tips. I couldn't understand your
> line about what replaces have_text, however. I don't see a method
> called "matches" or "match"...
Sorry that should be...
response.body.should match(/../)
it is the standard text regexp ma
On Jan 13, 2011, at 1:04 PM, Kurt wrote:
> Where are the changes to RSpec2 documented? I haven't been able to find a
> list of changes that would include something like this removal of have_text.
> Thanks.
have_text being pulled is not documented yet. Oversight on my part. Just added
an issu
On Jan 13, 2011, at 12:36 PM, Kurt wrote:
> Hi -- Thanks for sharing all your tips. I couldn't understand your
> line about what replaces have_text, however. I don't see a method
> called "matches" or "match"...
>
> I think your list might be the start of an effort by users to document
> RSpec2
Where are the changes to RSpec2 documented? I haven't been able to find a
list of changes that would include something like this removal of
have_text. Thanks.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo
Hi -- Thanks for sharing all your tips. I couldn't understand your
line about what replaces have_text, however. I don't see a method
called "matches" or "match"...
I think your list might be the start of an effort by users to document
RSpec2 the hard way, since a lot has changed that the core te
On Thu, Jan 13, 2011 at 2:08 PM, Amit Kulkarni wrote:
> Hello,
> I had used Fixtures and factory girl for preloading of data in earlier
> version rspec.
> Is there any new thing for loading of data in rspec 2 or do we have to
> use the same.
> Also is there any documentation link where i can get n
Hello,
I had used Fixtures and factory girl for preloading of data in earlier
version rspec.
Is there any new thing for loading of data in rspec 2 or do we have to
use the same.
Also is there any documentation link where i can get nice info about
rspec 2
--
Posted via http://www.ruby-forum.com/.
Hey,
Thanks a lot for the presentation.It was really helpful.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi,
On Thu, Jan 13, 2011 at 13:39, Jason Nah wrote:
> I have the following defined in my routes file
>
> resources :users
>
> And a controller:
> class UsersController < ApplicationController
> before_filter :load_user
>
> def show
> redirect_to(user_path(@user))
> end
> private
On Jan 12, 2011, at 11:39 PM, Jason Nah wrote:
> Guys,
>
> This could be me, but I thought I'd check
>
> For some reason, when I spec controllers, I run into this problem
> (intermittently it would seem). Right now, I have a spec that fails
> predictably.
>
> I'm using
> * Rspec 2.4.0
> * Rsp
17 matches
Mail list logo