of my act_as.. are
not available in the mock_model as they are in the actual model.
Thanks for the help
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I'm on Ubuntu 10.10, and I'm trying to figure out what I'm missing in
regards to the require statement for RSpec's expectation library.
Any code I see on the web requires rspec like:
require 'spec/expectations'
but to get it to work I always have to change it to
require 'rspec/expectations'
More
ically
used to put together pieces of html.
-Steve
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
The issue is actually before getting to anything Capybara related.
It's coming from my call to member_path @member in my spec to
determine the route path to use. Looking at it this way the error
makes more sense. Not sure how much fudging I would need to do to
simulate there being a request there f
We are indeed. There is no request var available in Capybara. I think
that is supposed to be taken care of by Capybara.default_host which I
have set, but still no dice. I see exciting times ahead trying to get
this working.
On Nov 13, 2:31 pm, Evgeniy Dolzhenko wrote:
> We're into some horrible t
fault_url_options = { :host => "test.host", :protocol => 'https' }
> end
>
> in your config\environments\test.rb
>
>
>
> On Sat, Nov 13, 2010 at 4:01 AM, Steve wrote:
> > Thanks, that did it. I still have a nil error when trying to call
> > host
Thanks, that did it. I still have a nil error when trying to call
host_with_port on the request object inside url_for, but I think that
is related to my app having subdomains, and trying to use those with
capybara.
On Nov 12, 2:56 pm, Evgeniy Dolzhenko wrote:
> Not sure on how to do that with Ste
ith capybara. So now I'm off to figure that out.
Thanks,
Steve
On Nov 12, 2:56 pm, Evgeniy Dolzhenko wrote:
> Not sure on how to do that with Steak but you must be looking to
> include Rails.application.routes.url_helpers
> somewhere, with vanilla RSpec it would be
>
> describe
hat I need to do?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
One of the things that you learn after testing for a while is "what to
test." You don't need to test Paperclip's ability to put files to S3; that's
what Paperclip's internal tests are for. So what I do is this:
http://gist.github.com/479647
When I'm developing locally or testing, I just write fil
"Integration testing" is also known as "full-stack testing." Basically,
you're not testing isolated parts of the system, but the system as a whole.
Cucumber is integration testing. rspec with 'integrate_views' is integration
testing.
___
rspec-users maili
I have some specs that use controller_name because of namespaced
temporary controllers in my specs. In rspec-rails2 I'm told that
controller_name is not a valid method. Is there a workaround for this?
Thanks,
Steve
___
rspec-users mailing list
;t
work. What is the current way to do this with rspec v2?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
d appreciate it.
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Apr 5, 2010, at 8:09 AM, Pat Maddox wrote:
>
> Sounds like a lot of work
>
>
> On Apr 3, 2010, at 9:08 PM, Julian Leviston wrote:
>
>> Sorry I meant send AND __send__
>>
>> Julian.
>>
>> On 04/04/2010, at 11:45 AM, Julian Leviston wrote:
>>
>>>
>>> On 04/04/2010, at 7:32 AM, David Chelim
On Mar 29, 2010, at 1:04 PM, David Chelimsky wrote:
> On Mar 29, 2010, at 2:48 PM, Ashley Moran wrote:
>
>> (2.5) Any reason why the new RSpec module is "Rspec" not "RSpec"?
>>
>
> AFAIK, autoloaders (like in Rails and Autotest), assume a CamelCase
> convention for class names, which RSpec vio
te: Any attempt to reduce local entropy
results in a net increase in global entropy.
So if you're interested in prolonging the life of the universe, the best
thing to do is sit quietly in a corner and do nothing.
-Steve
___
rspec-users mailing list
On Feb 1, 2010, at 1:30 AM, Amit Kulkarni wrote:
>
> Oh ok.
>> From your code it seems that we are checking the whole app as you
> mentioned.
> I have tested controllers using rspec.
> So i am not getting which is better to use.
> Since with Rspec we test the objects and here using cucumber(good
On Jan 31, 2010, at 9:13 AM, Ravi Shankar wrote:
>
> What is the difference between test driven development & behavior driven
> development, which one is better.
>
> what are the options available in BDD.
Make up a simple project like a blog that you can do in couple of hours. Try it
using one
Steve Scruggs wrote:
> I get the following error
>
> ThreadError in 'Managing InvoicePayments viewing index lists all
> InvoicePayments'
> stopping only thread
> note: use sleep to stop forever
> (eval):2:in `click_button'
>
> when running rake spec us
I get the following error
ThreadError in 'Managing InvoicePayments viewing index lists all
InvoicePayments'
stopping only thread
note: use sleep to stop forever
(eval):2:in `click_button'
when running rake spec using rspec and rspec-rails 1.2.9 and webrat
0.5.3. I have tried webrat 0.6.rc1 wit
g bet, which I will reiterate now:
Show me a technique that you claim "fixes" an inexactness problem with
floating-point math. I bet you US$100 that I can supply a trivial
example that breaks your fix.
-Steve
___
rspec-users mailing list
rsp
quot;;>http://en.wik=
>ipedia.org/wiki/Posting_style).If you have a [Cucumber] topic, plea=
>se respond with inline comments. And use plain text email - not html.
>Thanks,Aslak
>
>--001636c5b0eedf7860046942ecfc--
>--===0527642389==
-Steve
___
After upgrading to cucumber 0.3.0 from 0.1.16 I'm getting this error when I
try to run a feature:
/Users/steve/src/jruby-1.2.0/lib/ruby/1.8/jcode.rb:66:in `end_regexp': too
short multibyte code string:
/[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]$/ (RegexpError)
from /Users
elf:
(a) What implicit assumptions am I making by doing this?
(b) Is is safe to make those assumptions?
If you can reasonably answer yes to the second question, then you're in
good shape. But you still have to accept that future changes to the
design can lead to structural change
Stephen,
Regarding the exception nagger, would a simple script that grepped the log
file for exceptions and produced a list of failing lines in your code be a
start?
Steve
On Sat, Apr 11, 2009 at 11:47 PM, Stephen Eley wrote:
> On Sat, Apr 11, 2009 at 2:02 PM, Ashley Moran
> wrote:
>
Well I'm reading the 0.4.2 webrat rdoc for fill_in, at it says:
"field can be either the value of a name attribute (i.e. user[email]) or the
text inside a element that points at the field."
Does it also try the id?
Steve
On Fri, Mar 6, 2009 at 11:03 AM, James Byrne wrote:
the input
element would be easier, especially when a page has multiple forms with the
same labels and input names.
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Aslak Hellesøy wrote:
> Rob Holland updated the wiki yesterday:
> http://wiki.github.com/aslakhellesoy/cucumber/sinatra
> (He reports that the $0 trick described in the blog doesn't work with
> the latest Sinatra).
> Rob also has an example in his fork, which I have yet to merge into my
> repo:
>
http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html
Andrew Premdas wrote:
> Anyone using cucumber with sinitra (current). Wondering if I need to use
> Aslaks sinatra/webrat forks. Also if anyone has a sample app :)
--
Posted via http://www.ruby-forum.com/.
__
gt;> people use your validation code in those spots where you want them to.
>> How does that sound?
Steve
On Thu, Jan 8, 2009 at 12:52 PM, Zach Dennis wrote:
> On Thu, Jan 8, 2009 at 11:32 AM, Steve Molitor
> wrote:
> > I guess that would work.
>
> What would work?
ceive?(:validate).with(the_date).return(true)
You're completely mocking out the date validation result, but you're testing
that the date validation routine was indeed called, and if you've tested
that routine elsewhere you should be good.
Or something like that. Good ideas, thanks.
nse, other times where that would
be too much noise and you want a reference.
Steve
Steve
I don't think you need all 3 steps. OK. "Then" is awkward
On Wed, Jan 7, 2009 at 9:00 PM, Pat Maddox wrote:
> On Wed, Jan 7, 2009 at 6:22 PM, Stephen Eley wrote:
> > On Wed, Jan 7
I guess that would work. But a method would probably work too, if I'm
understanding correctly (often a bad assumption!). I.e. /"(.*)" should be
a valid date/ would call valid_date?(date), or something. Anyway, yes that
sounds promising.
Steve
On Wed, Jan 7, 2009 at 8:09 PM, Pa
On Wed, Jan 7, 2009 at 9:00 PM, Pat Maddox wrote:
> On Wed, Jan 7, 2009 at 6:22 PM, Stephen Eley wrote:
> > On Wed, Jan 7, 2009 at 7:00 PM, Steve Molitor
> wrote:
> >> Lots of features use the word "should" in their then clauses.
> >> Take this exampl
programmatically ran the date feature file inside the Given /(.*) date is
vaild/ step. But all those results would clutter up the report output. I
like your approach best: simple and doesn't require a funky technical
solution.
Steve
On Wed, Jan 7, 2009 at 7:26 PM, Pat Maddox wrote:
> > Fro
eature is clearer to the customer than a spec example.
Steve
On Wed, Jan 7, 2009 at 4:22 PM, Stephen Eley wrote:
> On Wed, Jan 7, 2009 at 12:23 PM, Steve Molitor
> wrote:
> > By a global requirement I'm talking about requirements like 'all emails
> must
> >
;t care to see
a regurgitation of all the previously explained features that applied. A
reference or reminder note was just fine.
But anyway, yes focus on clarity and flow for the reader. Sometimes that
will mean getting a little DRYer, in other cases it would me getting a
little moister.
Thanks!
y that was easy to read it might
be nice.
Anyway you've showed me a very workable approach. Thanks!
Steve
P.S. Date validation really isn't that important in my application; that's
just an example. A real example would be the sales tax calculation in the
leasing app I worked
lly the testers, preferred:
a + b + (a + b * 0.5)
In real life the sales (and use) tax calculation was quite complex and
changed. When it changed this broke many manual test plan and invalidated
many use cases. If we were using cucumber with the second approach it would
br
+1 @ Pat
I was going to respond in more detail, but I do exactly what Pat does --
bang in steps, no bang in Rails apps. The Rails scaffolding boiler plate
generates no bangs.
Steve
On Mon, Dec 22, 2008 at 2:30 PM, Pat Maddox wrote:
> On Mon, Dec 22, 2008 at 11:29 AM, Caius Durling wr
What about two steps with the same regex but are of different types -- i.e.
a Given and a Then with the same regexp?
Steve
On Wed, Dec 17, 2008 at 6:07 PM, aslak hellesoy wrote:
>
>
> On Wed, Dec 17, 2008 at 11:50 PM, Tim Walker wrote:
>
>> Great information guys, making som
dashes
-
Am I making sense? I want to specify the date in the features, as there may
be extra requirements like birth dates can not be in the future in addition
to the generic date requirements. And I want to validate that the form
checks for valid dates, displays the appropriate error mes
o that in an example driven way,
without copying and pasting from other features.
Does my question make sense? Any suggestions?
Thanks.
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
with 'format --pretty' everything works fine
and all steps are colored green. This is happening with jruby 1.1.4 on OS X
and RedHat Linux.
Any ideas? Could this be a bug?
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyfo
Does anyone know if there's a vim plugin out there that will show a tree
of your describe/it blocks at a glance. Preferably with click ability to
go right to that location?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
x27;t make much sense.
How about this:
"Offhand, I'm not sure why that is true (still waking up this fine
Monday morning), but I'd recommend throwing this question to the rails
mailing list if nobody responds here."
-Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
u wouldn't say [EMAIL PROTECTED]
No, you usually wouldn't (though you could). But if you had a @page
variable that represented just one Page, it would be quite sensible
and common to say @pages == [EMAIL PROTECTED]
That's really all that mock_page i
Mark Wilden wrote:
On Wed, Aug 6, 2008 at 9:22 AM, Steve
<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I know there is a hash_including, which is quite useful. Are there
by chance any matchers for ensuring a hash includes only the
specified values, or that it
4, 2]
An unordered collection with possibly multiple occurrences of its
members is known in mathematics as a "multiset," or, informally, a
"bag."
-Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I know there is a hash_including, which is quite useful. Are there by
chance any matchers for ensuring a hash includes only the specified
values, or that it doesn't have certain values?
Thanks,
Steve
___
rspec-users mailing list
rspec-
a generic
resource as a model, I'd consider wrapping it inside a model class and
spec'ing it out as a model.
--
Have Fun,
Steve Eley
Deep Salt Team
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
url = ['http:','', request.host].join('/')
respond_to do |format|
format.json { render :json => {:errors => errors, :url =>
url }, :status => 409}
end
end
end
I don't know if it's the cause, but yo
d ''. I know that have_tag is based on
HTMLSelector, so it's not specifically RSpec, but does anyone know how
to work around this?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Scott Taylor wrote:
Of course there is a way - the question is, do you really want to use it?
After seeing that, no, not really. I agree with you on it likely messing
with clarity. I opted to rework my specs. It wasn't my preferred option,
but there really wasn't a better way. Thanks to both
Pat Maddox wrote:
etc. It's super weird that it works in every other place but not
here. So I'd start from the tiniest thing possible and add lines
until you find one that breaks it.
Pat
So I went through and took the whole thing apart. It turns out that it
is/was a stub issue(just not qui
Pat Maddox wrote:
...big snip...
Well, a lot of stuff has happened since then :) However, I'm not sure
what your problem is still so I can't tell you that it's been fixed
since then. It sounds to me like you're saying reservations(:single)
returns a Reservation object in one test, but [] in th
Pat Maddox wrote:
Can you paste your code please? Here's an example I just whipped up
that seems to work fine...I'm using a stub defined inline, a stub
defined in two steps, and a partially stubbed object. They all shadow
the outer stub. What does your code look like?
Pat
It looks like I w
just
overwrite the previous stub value, but instead it seems to turn the stub
into an array making the previous value the first element, and then the
new value the second.
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://r
ication code in a spec, and
make sure that nothing you do in a spec leaves a permanent change in
memory. I can't know if that's your problem, of course, but it's
something to think about.
--
Have Fun,
Steve Eley
Deep Salt Team
___
rs
Because
>> you'll come back to this code in 6-12 months and be totally stuck
>> trying to figure out what is where.
>>
>> I recently wrote a viewpoint on this that might help you:
>>
>> http://www.lindsaar.net/2008/6/24/tip-24-being-clever-in-specs-is-for-dummies
>>
>> Hope you do well with Rspec, feel free to ask more questions!
>>
>> --
>> http://lindsaar.net/
>> Rails, RSpec, Puppet and Life blog
>> ___
>> rspec-users mailing list
>> rspec-users@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
--
Have Fun,
Steve Eley
Deep Salt Team
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
rtually nothing in, so that only means changing
one or two lines of code each time. I don't consider that much of a
burden.
--
Have Fun,
Steve Eley
Deep Salt Team
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
ple to include it in their config.*
block if they want to use it?
--
Have Fun,
Steve Eley
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I've been having some view spec issues, and I think I finally traced
it to ground - it seems like setting a value in assigns like:
assigns[:foo] = "baz"
doesn't get used to build the path prefix for a route like:
map.resources :widgets , :path_prefix => ':foo'
To test it out, I created a
I have specs that ran fine in Rails 2.02/RSpec 1.13 that are failing on
Rails 2.1/RSpec 1.14.
There is one problem and one issue:
problem: sometimes (but not always) I get a NoMethodError referencing a
has_many association
issue: in helper specs, instance variables don't get set unless the
Helpe
working on this project a while back and I did
upgrade my REXML version at some point.
On Tue, May 13, 2008 at 4:02 PM, Alf Mikula <[EMAIL PROTECTED]> wrote:
> Steve,
>
> Did you have any luck with this? I ran into this problem today, with
> Rcov 0.8.1.2.0, RSpec 1.1.3
On Sat, May 10, 2008 at 11:03 AM, Wayne Molina <[EMAIL PROTECTED]> wrote:
> Okay the issue seems to have been that it wasn't set to RSpec but Ruby
> on Rails. Changing it to RSpec seems to fix it... silly me, I guess :)
>
Same problem (and solution) for me, but ...
when I'm in a spec file and s
I have a case where I'm loading fixtures and a row added to a table in a
spec is around at the start of all subsequent specs.
When I set config.use_transactional_fixtures = false the fixtures load/clear
as expected.
Any ideas?
___
rspec-users mailing li
I assume you are running with '-f s' switch? Maybe its in your spec.opts
file ... maybe as --format progress?
If you change that to '-f p' you only see progress as a single '.' for each
passing test with errors at the end of the output.
Or maybe I'm not understanding the question.
On Wed, May 7
>
> Just because too objects have the same to_s representation don't mean
> they are equal:
The important equality in this case is what matters to the tester.
>
> This is a similar issue to Floats where there's more precision than
> the exernal representation shows.
>
Is there more precision t
I sent an inquiry to Prag Bookshelf but didn't hear anything -- saw
something online that led me to believe they were the publisher.
PeepCode has several RSpec screencasts.
On Sat, May 3, 2008 at 10:06 AM, Michael Schuerig <[EMAIL PROTECTED]>
wrote:
>
> I admit it, when it comes to rSpec, I'm la
I've seen that one too. Maybe has to do with how equality is defined in the
Time or DateTime class.
I get around it by comparing the string-ified versions:
foo.time.to_s.should == expected_time.to_s
On Sat, May 3, 2008 at 9:17 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> I occasionally get
Trying to run the 'spec:rcov' task and failing with error below.
I saw a post from last year with a different REXML error but it was a FixNum
issue.
Any help appreciated.
S
OS X
Ruby 1.8.6
Rails 2.02
RSpec-1.1.3 (build 20080131122909)
REXML 3.1.6
=
876 examples, 0 failures, 87 pending
/opt
Just curious if anything special needs to be done to use the Rails
fixture scenarios plugin(http://code.google.com/p/fixture-scenarios/)
with rspec? Would I just create the "scenarios" inside the spec/fixtures
dir, as opposed to the test/fixtures dir?
Tha
On Mar 31, 2008, at 7:03 AM, Ashley Moran wrote:
> Hi
>
> Is anyone here using NetBeans and story runner? NB doesn't
> recognise .story files so I can't even do simple things like block
> commenting lines (and the regex replace is temperamental). I tried
> adding .story to the list of Rub
the self.included method from the module, and just add:
before(:each) { begin_transaction }
after(:each) { rollback_transaction }
within the describe block it works perfectly.
Does anybody know what might be causing this, or a way around it?
Thanks for your help.
Steve
___
On Sat, 08 Mar 2008 15:51:01 -0500, Zach Dennis wrote:
> I'm heading out of town, but had a quick thought I wanted to share.
> Rather then using ambiguous named request helpers in controller specs
> like "do_request", I've been using more readable helpers like
> "post_create".
snip
> IMO is add
.should_receive(:set_current_user)
do_request
end
When I watch the spec with my debugger, when it gets to the code, the
session is empty, and the spec fails. What would be causing this? Am I
setting the session wrong? I have also tried just session, and
request.session with the same results.
Is there currently an option to have the rspec_controller generator
generate haml instead of erb view files, and the corresponding spec?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec
On Mon, 18 Feb 2008 17:06:03 -0500, David Chelimsky wrote:
> On Feb 18, 2008 4:59 PM, Steve
> <[EMAIL PROTECTED]> wrote:
>> Not sure if this is rspec or autotest. When autotest is running, and I
>> add new files in my rails project, it doesn't notice. I have to restar
Not sure if this is rspec or autotest. When autotest is running, and I
add new files in my rails project, it doesn't notice. I have to restart
autotest for it to start seeing them. Not the end of the world, just a
small inconvenience.
On Sun, 17 Feb 2008 12:40:31 -0500, David Chelimsky wrote:
> On Feb 17, 2008 11:17 AM, Steve
> <[EMAIL PROTECTED]> wrote:
>>
>> In the example I actually have "include ApplicationHelper" in there,
>> and am using a method "row_class_for_idx" in t
On Sun, 17 Feb 2008 08:06:10 -0500, David Chelimsky wrote:
> On Feb 17, 2008 1:08 AM, Steve
> <[EMAIL PROTECTED]> wrote:
>> I'm not sure of what the community stance is on this, but is there a
>> builtin way to include helpers in view specs? Is this practice shunned?
n the view spec, so that that output could be expected. My helper
functions all have their own specs, so it would seem that I'm not doing
anything magical, just making the specs a little simpler.
Steve
___
rspec-users mailing list
rspec-users@rub
necessary loading in that file. There's really no way to know what crazy
way someone might layout their projects.
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Sat, 16 Feb 2008 18:13:51 +, Steve wrote:
> What was the nature of the changes. I just updated to r3312, and when I
> run autotest I get:
>
> loading autotest/rails_rspec
> /usr/bin/ruby1.8 -S script/spec -O spec/spec.opts No
> server is running
>
> I've
On Sat, 16 Feb 2008 10:23:53 -0500, David Chelimsky wrote:
> On Feb 15, 2008 6:06 PM, Steve
> <[EMAIL PROTECTED]> wrote:
>> I seem to remember when I was running a previous version of rspec and
>> autotest that when a set of specs passed for some changed files, that
>&g
On Fri, 15 Feb 2008 01:07:27 -0500, David Chelimsky wrote:
> The source of the bug was a patch that we applied a while back. This was
> after the 1.1.3 release, so if you're using 1.1.3 you're fine. If you're
> using trunk, go ahead and update and you should be fine now.
>
Thanks, I appreciate i
,
or is something wrong?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Thu, 14 Feb 2008 17:53:42 +, Steve wrote:
> When I try to run autotest I get the following error:
>
> loading autotest/rails_rspec
> /usr/local/lib/site_ruby/1.8/rubygems.rb:319:in `activate': can't
> activate ZenTest (= 3.7.1), already activated ZenTest
ing from a
previously working much earlier rev of rspec/rails, and zentest. I'm
guessing something old is lingering around. Where would I be best off
looking?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/m
nching into all of
that. I think it then thinks that perhaps the broken specs are fixed, so
that's why it then tries to run all of the specs again.
Finished in 15.703733 seconds
398 examples, 1 failure, 1 pending
/usr/bin/ruby1.8 -S script/spec -O spec/spec.opts
/usr/bin/ruby1.8 -S script/s
if there's any more information I can provide.
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
David Chelimsky wrote:
> On Feb 4, 2008 11:15 PM, Steve Hayes <[EMAIL PROTECTED]> wrote:
>> In RSpec 1.1.3 this method is invoked from
>> Spec::Example::ExampleGroupMethods.inherited, but it no longer exists.
>
> It most certainly does. In fact, it's new in 1.1.3,
rlier version of RSpec gets me going, but
seems a bit of a hack. Is there something else I should be doing, or is
this a bug?
Steve Hayes
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/ma
ddress'.
Is there a way to check for this through the primary view, or should I
just spec the partial individually?
Thanks,
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
as not. Perhaps something like 'response.should have_success_status'?
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I have a project with rspec installed as a plugin using
svn:externals. Here are my externals:
rspec_on_railssvn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
rspec svn://rubyforge.org/var/svn/rspec/trunk/
rspec
I just did an svn up on both and now
I have a project with rspec installed as a plugin using
svn:externals. Here are my externals:
rspec_on_railssvn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
rspec svn://rubyforge.org/var/svn/rspec/trunk/
rspec
I just did an svn up on both and now
at
the controller instance that was called though? If I could do that, I
could simply check for a responds_to at the very least, right? I
understand what you mean by blurring the lines though.
Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
1 - 100 of 162 matches
Mail list logo