similar to: FixtureScenarios

Displaying 20 results from an estimated 2000 matches similar to: "FixtureScenarios"

2007 Sep 04
3
Model Specs: Fixtures vs Mocks + Stubs?
What is the general opinion about fixtures versus mocking and stubbing in model specs? I heard from agile on IRC that they save the database testing for integration testing, but I also see that the caboose sample applicaiton uses fixtures. I also noticed that on the rspec site, it says "Ironically (for the traditional TDD''er) these are the only specs that we feel should actually
2007 Aug 08
25
Problems with RESTfully generated helpers
I am using helper the RESTfully generated helper methods in my views. My routes are nested so the helpers appear to need arguments passed to them, but it works without arguments. Say for example I have pages and comments. If I do page_comments_path without parameters, it works. However, when I run the rspec test, it fails and tells me i''m missing parameters. I tried to pass
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...
2007 Oct 09
23
Testing layouts with RSpec on Rails
Hey guys, Does anyone have any wisdom to share on the subject of speccing Rails layouts? Most of it''s plain old view specs stuff, but are there sensible ways to verify things like the yield call? (Mocking doesn''t catch that) Thanks, Matt -- Matt Patterson | Design & Code <matt at reprocessed org> | http://www.reprocessed.org/
2003 Oct 22
2
Samba 3.0 + LDAP userPassword -> sambaNTPassword manual sync?
First, the software: Samba 3.0.0 OpenLDAP 2.0.27 nssldap / pam_ldap Redhat 9 This may be more of a question for the OpenLDAP mailing list.. but does anyone know of a method (perhaps using slappasswd?) to hand-sync userPassword attributes to sambaNTPassword attributes? Deploying Samba 3.0 as pdc pretty soon, used Migration Tools on the mail server soon, and I'd really like to be able to tell
2002 Jul 19
2
OT slashdoted BEFORE release?!?!
Dammit, Why can't slashdot at least confirm that A) its released and B) its MIRRORED BEFORE setting loose the /.'ers http://slashdot.org/article.pl?sid=02/07/19/1320219&mode=thread&tid=141 Myles <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to
2007 Aug 13
4
Anvil: an application framework
Hi everyone! I have been working on idea for an application framework in ruby the wraps around the wx ruby gem. The goal is to make a framework that is as easy as rails create applications using concise and dry ruby code. We are in need of some experienced help! If you are interested checkout the project on ruby forge. Anvil.rubyforge.com and the irc channel is #rubyanvil on irc . My buck on irc
2007 Sep 10
6
RSpec view spec writing problem (unable to generate url_for in RESTful resource link_to)
Thanks, first, to everyone who''s asked and answered questions on this list, and to the creators of RSpec - it is all very helpful. I''ve searched the mailing list, and had a couple 2hr googling sessions that didn''t help me find an answer. I''ve run into a problem getting my first non-trivial view spec to run. I get an error when trying to generate a link_to()
2007 Oct 02
6
Rails 2.0 Preview Release and RSpec Trunk
Hi all, For those of you checking out the Rails 2.0 preview release: RSpec-1.0.8 does not support Rails 2.0. Unfortunately, we''re in the middle of some big changes to the internals in trunk and won''t be in a position to do a release for another week or so. Therefore, if you are using the Rails 2.0 preview, you''ll need to use the RSpec trunk. Additionally, right now
2017 Nov 30
1
Admins supporting both RHEL and CentOS
> No, it's Varian/Agilent. A big player in lab instruments. > > Funny thing, just googled them and apparently they've opensoured the culprit > software, and according to the below link, it's not locked to a particular > point release anymore! > > http://openvnmrj.org/Downloading/ > > It does however still require the original software - which _is_ locked
2005 Feb 25
2
Re: STATs tools?
I just wanted to point out that it's "stats", not "STATs". "Stats" is not an acronym! It's an abbreviation; it's short for "statistics". On Fri, 25 Feb 2005, Dan Stowell wrote: > Date: Fri, 25 Feb 2005 09:43:38 +0000 > From: Dan Stowell <danstowell@gmail.com> > To: icecast <icecast@xiph.org> > Subject: [Icecast] Re:
2007 Sep 19
5
Zentest and rspec
Hi guys I''m new to rspec and was wondering if there is a quick setup to get it to work with autotest, sans rails. Thanks -- Jim Freeze -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070919/f7eecd9e/attachment.html
2007 Aug 17
4
should_receive, used in the wrong place?
What do you guys think of this: if someone calls should_receive outside of an "it" block, it warns you. before(:each) do @foo = Foo.new @foo.should_receive(:monkeys) end would warn you that you''re setting an expectation in the wrong place, and that "stub" is correct when setting up objects. Opinions? courtenay
2007 Mar 23
7
Samba config for Windows on VMWare
I know this is a little off topic (not as usual, dammit!), but I figure at least one of y'all can handle this one. I have tried to configure my CentOS4.4 Plus desktop for samba sharing with the VMWare Windows that runs on it. However, no matter what I've done so far, I can't get the Windows to recognize this machine as a legitimate network destination. Here's my samba
2007 May 22
3
BDD screenscast
I posted a quick screencast demonstrating some BDD with RSpec yesterday: http://wincent.com/a/about/wincent/weblog/archives/2007/05/ behaviourdriven.php I''m a C/Objective-C programmer who knows a bit of Ruby, almost nothing about Rails, and in BDD I can really only claim "new but interested" status. It''s not scripted, it''s totally improvised and
2013 Oct 09
1
DNS frustration
I'm getting fed up with the whole DNS scenario with Samba4. I'm literally about to go insane. I've spent about 60 hours in the last two weeks and I can't seem to figure out a solution that meets my requirements. So what are my requirements? * A Samba4 AD domain. * A DHCP server for approx 100 windows clients/devices * A DNS server whose forward and reverse zones get updated when
2007 Oct 18
12
first cut at blockless given/when/then
Hi all, I committed a first cut at blockless Givens/Whens/Thens to RSpec''s trunk: cd /path/to/rspec/project svn up cd rspec bin/spec examples/story/calculator.rb Take a look at examples/story/calculator.rb to see what''s going on. Needs docs!!!! Thoughts welcome. I''ve also got a cut at the plain text parser checked in, but it''s not hooked up to anything
2006 Mar 31
1
mutual information for two time series
Hi I hope this is going to the right place. I am trying to write a program which uses KernSmooth library to estimate mutual information between two time series at various different lags. At the moment it’s producing negative values, which is supposed to be impossible (something is fishy). I am summing across one row of the matrix to get p(value is in bin x) and summing across the columns to get
2007 Sep 15
2
Problems with 1.8.6
Hi all, Recently a user of my editor (Hamr) reported that while using ruby 1.8.6 on windows, the close button would re-open the entire application once and quit. I heard that 1.8.6 has had problems with SOAP because it double posts. Is there something completely screwed up in 1.8.6 or did I make a programming error? :) -TIA
2007 May 24
15
Specs for code stored in rails_app/lib/
Where should the specs go for code in the "lib" directory of a Rails app? I made a folder, "spec/lib/", for storing such specs, and RSpec automatically picks them up when run using "rake spec". Before I go ahead and patch rspec_on_rails/lib/autotest/ rails_rspec.rb so that autotest can monitor these specs I''d like to ask whether this is the