Displaying 20 results from an estimated 28 matches for "wiseman".
2007 Oct 05
4
have_xml_tag
Hi
Was just using have_tag on an xml response and found the problem
outlined and resolved here
http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
Just wondered if there is any support in rspec?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype:
2007 Sep 05
4
False Positives and Autotest on New Folders
...39;d hate it to mask a
test failure.
Autotest
Out of curiosity, does anyone know how to get autotest to pick up new
folders under spec/? Seems like I might have to modify rails_rspec.rb in
lib/autotest. We were considering separating our acceptance tests from the
rest.
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070905/dd3f3b88/attachment.html
2007 Sep 07
4
fixtures in before(:all)
....rb:86:
script/spec:4:
If I convert it to before(:each) or simply before, it works just fine.
describe "Customer", "xml" do
fixtures :customers
before do
one = customers(:one)
end
# ...
By design? bug? PEBKAC? Anyone else hit this?
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070907/82661968/attachment.html
2007 Sep 04
16
Failure Messages in RSpec
...when the model validation fails, I know /why/. I don''t see
an easy way to include these sorts of messages in RSpec, which seems likely
to cause me to waste time on test failures. Am I missing something? How
are experienced RSpec users resolving this?
Thanks,
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070904/558bcc38/attachment.html
2007 Sep 09
11
Going beyond the default html formatter/report?
Hi!
I wonder does anybody planning to go beyond the default html formatter/report?
The current html report is nice and green but what about to go a
little silly and enable also user input. For example to let customer
to add a new pending spec, comments etc. I feel it might be mentally
easier for some customers to jump into spec world when it is possible
to give input at "the same
2007 Oct 01
1
have_tag and line numbers
...se experienced this? I just spent a while tracking down what I
assumed was a problem in my have_tag only to discover it was a problem with
my with_tag. Just trying to determine if I''m mis-understanding something or
if this is a bug I should file in the tracker?
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071001/a578b8da/attachment.html
2007 Oct 05
1
Rake & Story Runner
...As far as I can see, "rake spec" doesn''t run or report
on my story in stories/filename.rb.
I''m guessing that stuff is still pending, but wanted to confirm before
deciding whether to build something myself or wait for something to come
down.
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071005/7181ed00/attachment.html
2007 Sep 07
12
Preconditions
...s
not part of the contract that model objects have three revisions, it''s just
something I want to make sure is true before I run off and conduct some
tests.
I could raise an exception in the before block if the precondition isn''t
met, any other choices?
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070907/855c462c/attachment-0001.html
2007 Oct 04
1
PUT- or POST-ing xml
...in/spec:16:in `load''
> /usr/bin/spec:16:
>
> Finished in 0.594615 seconds
Thoughts? Has anyone found a way around this with the current (1.0.8)
RSpec? Is this something that is addressed by the Story Runner in trunk?
Thanks in advance for any advice,
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071004/affbad92/attachment.html
2007 Oct 05
2
Rails, rSpec edge problems
Hi,
Does the Story Runner work on edge rails? I thought that is what the
example app was using but I am on the latest Rails and latest rSpec
revisions and I am having problems. When I call ''render_template'' in a
story I get the following:
NoMethodError: undefined method `render_template'' for
#<ActionController::Integration::Session:0x327d974>
Do I need to
2007 Oct 04
7
Using Predicates to look at an array..
Hi all,
I have an array of shipping_type''s being returned, and I want to see
what is in there. In the past I have done:
shipping_type.include?(Cart::SHIPPING_TYPE_REGULAR).should be_true
This works, but looks really ugly.. It just doesn''t roll of the
tongue very well. I then looked up the use of Predicates, which I
had been using, but hadn''t realized:
2007 Sep 05
6
Caveman Questions
Hello!
I''m just a caveman with some caveman questions.
I''ve been parsing Rspec for quite a while, and I''m writing my first series
of specs. My initial impressions are "Verbose, but understandable. Helpful
and intuitive, but so much to digest." I want to congratulate the folks who
are dedicating a chunk of their lives to writing this, and ask 2 caveman
2007 Sep 05
4
Content assist for spec files
Hi there,
I''m working on Ruby support for NetBeans, and we''re bundling RSpec
(along with JRuby).
One thing I''d really like to fix is having content assist (code
completion / intellisense / code insight, it has many names) work
inside your spec files such that you can not only hit ctrl-space and
see "describe", "before", "it" etc.
2007 Nov 18
12
Lighthouse and Engine Yard sponsorships
Hey all,
I''m very happy to announce that ActiveReload[1] has generously offered
to sponsor a lighthouse[2] account for rspec. We''ll be moving ticket
tracking there. We''ve already got the account set up and will soon
make it public.
We''re also going to be getting a sponsored slice at Engine Yard[3] to
host source control, which will be either mercurial or git
2006 Mar 28
0
SuperParamagnetic Clustering
Hi,
I would like to know if the "SuperParamagnetic Clustering" method (Blatt
M., Domany E., Wiseman S.: "Data Clustering using a model granular
magnet". Neural Computation 9 (1997)) is available in R. If yes,what is
the package which would contain this program ?
Thanking you in anticipation,
Jeanne Vallet
[[alternative HTML version deleted]]
2007 Sep 24
2
Is Rcov working with Jruby now?
Hello everyone:
I am currently assigned to test a big project which uses JRuby to build a
web application. The reason of using JRuby is the web application is
communicating with Java Service. I am writing test cases using Rspec and
looking for a code coverage tool. Rcov is no doubt a nice code coverage
tool. However, it is said that Rcov is not compatible with JRuby so far.
Sigh....I can not
2007 Sep 20
1
Relationship Proxies?
I''m trying to understand these results in irb, which implies that
there''s some kind of proxy at play:
>> aaron = User.find_by_login ''aaron''
=> #<User:0xb7109cdc
@attributes={"salt"=>"7e3041ebc2fc05a40c60028e2c4901a81035d3cd",
"updated_at"=>nil, "contact_info_id"=>nil,
2007 Oct 01
0
View Spec - Misbehaving
...ms to imply the
route shouldn''t have an ID, but ... well ... it should, and it does when I
fire up the page in my browser, so I''m not entirely sure why running an
RSpec view spec should get me a different result on a named route
generation.
Suggestions?
- Geoffrey
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071001/3c0723e7/attachment.html
2007 Sep 12
12
Philosophical questions
Disclaimer: The following are observations by a relatively new user
(couple of weeks) of RSpec and not intended as RSpec trollbait.
Also, forgive me if similar topics have been discussed elsewhere on
the mailing list. I at least did the due diligence of a quick search.
That said...
I''ve been positively thrilled with RSpec for use outside of Rails.
It has been in my attempts
2007 Oct 05
0
RSpec Trunk - Successful : Rake Aborted
..._handling''
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run''
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load''
/usr/bin/rake:16
--
So - the specs are file, but Rake aborted anyway. Thoughts, before I go
a-digging?
--
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071005/95f74bf5/attachment-0001.html