Displaying 20 results from an estimated 100 matches similar to: "Canonical way to generate RSpec HTML report in Rails app"
2007 Nov 07
1
Helper methods starting with should_ get picked up as examples?
Hi!
I recently updated my rspec and rspec_on_rails plugins to the tip of
the trunk and ran into an issue with helper methods with names
starting with should_ in my describe blocks. Fictive example to show
what I''m talking about:
describe Order do
it "Can be paid for" do
...
should_have_paid(user)
end
def should_have_paid(user)
end
end
I know in
2007 Aug 31
3
Setting use_transactional_fixtures=false for a single spec - a bad idea?
Hi!
I would really like to find a way to allow me to write RSpec
specifications for code that use database transactions. I know I can set
config.use_transactional_fixtures = false
in my spec_helper.rb. That works, and that''s great, but it will (I
think) slow down my specs quite a bit. I would like to turn off
transactional fixtures for just a single spec (describe), or even
2007 Aug 31
48
Deprecating the mocking framework?
I saw in one of Dave C.''s comments to a ticket that "our current plan
is to deprecate the mocking framework." I hadn''t heard anything about
that, but then again I haven''t paid super close attention to the list.
Are we planning on dumping the mock framework in favor of using Mocha
(or any other framework one might want to plug in?).
Pat
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the
globe yet, so you might have to wait a few hours to install it.
The big news this time is Spec::Ui 0.2.0, which has been released
along with RSpec core. This RSpec extension gives you custom Watir
matchers (custom Selenium-RC matchers are not implemented yet).
Moreover, it comes with a custom KICK ASS formatter
2006 Dec 04
5
ruby on rails ecommerce tests are failing, but why?
i am working through the Beginning Ruby on Rails Ecommerce book and on
page 101 where it is talking about integration tests, i run
test/integration/book_test.rb and it fails giving me the following
error message:
1) Failure:
test_book_administration(BookTest)
[test/integration/book_test.rb:45:in `add_book''
test/integration/book_test.rb:11:in `test_book_administration''
2009 May 30
1
Printer Question
Hi!
Not sure that this is the right list, but has anyone had any experience
setting up a Konica Minolta Bizhub printer to use ldap authentication
through samba? I know that the bizhub 250 that i have has built-in
authentication, but it's really ridiculous when using the official linux
drivers (they only support a one number username and a one number
password e.g. 1:5 or similar). And
2008 Jun 24
2
Online backup with dovecot
Hi!
Do you guys/girls (whichever you prefer) know if it's possible (i.e. in
some semitransparent/easy way) to incorporate an online backup system?
If the mail is older than a set amount of days it gets compressed.
I want my mail storage size to shrink but on the other hand I want to
keep the mails I get and have them easily readable :)
I'm thinking of symlinks and some kind of gzip
2007 Aug 24
26
testing behaviour or testing code?
hypothetical question for all you BDD experts:
I want to make sure that a :list action always returns widgets in
alphabetical order. There''s at least 2 ways of doing this:
it "should fetch items in alphabetical order" do
Widget.should_receive(:find).with(:order => "name ASC")
get :list
end
it "should fetch items in alphabetical order" do
[:red,
2012 Sep 27
0
Dynabyte bjuder in till SHRUG den 1 november!
Kom till oss på Kammakargatan 9A den 1 november. Vi startar klockan 18.00
med mat och sedan följer intressanta tal, mingel och kanske en öl eller
två. Vi har begränsat med platser så ta er tid att gå in på
http://simplesignup.se/event/14236<http://simplesignup.se/event/14236-shrug>och anmäl dig.
Varmt välkomna!
/Elin och Kim
Program
- Mat/Intro
- Presentationer
- Rails
2013 Jun 18
3
Matching username in ssh_config
Hi all openssh devs out there.
I have quite a few Host-stanzas in my .ssh/config to keep track of all the
different settings and credentials needed to access all different hosts I
connect to.
Now I have ran in to a problem where I need to switch settings based on what
user I'm trying to login to a host as. A simple case is:
ssh -i rootkey root at host123
vs.
ssh -i userkey username at
2020 Sep 08
3
ssh: case insensitive fingerprint validation
Hello!
I noticed the ssh client now allows you to paste a fingerprint at the
host key verification question which I thought was pretty cool and a
welcome feature.
When testing it out I discovered it did not care about the case of the
entered hash, and looking at sshconnect.c I see strcasecmp() is
used which explains why.
I'm just curious if this was a deliberate decision or if it would make
2013 Aug 28
2
mailbox_list_index, stops showing new mails in mailboxes
Hello.
I'm having some weird problem with (probably) mailbox_list_index,
that it doesn't see new mail in mailboxes.
I'm using 2.2.4 over imap and ssh/imap, and after a while dovecot
stops noticing new mail in some folders. Its always the same 2-3
folders of about 30.
I read something about list-index corruption in 2.2.2, and i thought
it was that i was running into earlier, but this
2012 May 04
1
Broadvoice Got SIP response 503 Service Unavailable
Hi,
I'm running Asterisk 1.8.11.1 @office.
The Broadvoice service work fine with all 1.6 version and early 1.8
behind a NAT but about 2 months ago stop working.
No made changes in the firewall NAT rules. Right now I'm @home via my
Xlite softphone working fine without problems
Any suggestions or thoughts?
Alex Celi
This is the info
central*CLI> sip show peers
Name/username
2001 Oct 15
2
Linux-2.4.12
How come there haven't been any ext3 patch for Linux 2.4.12
--
Mvh Magnus Lundin
2001 Nov 20
3
ext3 on a KT133A chipset
Hi,
With 2.4.14 and the ext3 patch on redhat7.2 with my KT133A Athlon system,
the kernel panics on boot up just after starting init.
I removed the ext3 patch and the kernel did not panic (However I could not
mount my ext3 file systems :) ).
Is this a proble with ext3 of something different?
Thanks for any help.
BaRT
2008 Oct 17
1
Check This Out
Hi friends, I'm playing Cabal Online in a great private server: Elite Cabal, and I want to invite you all to join and enjoy with this great community.These are the server rates:Xp: 100 | Sp: 90 |Craft xp: 20 |Drop: 10 |Alz : 50So, visit www.elitecabal.com and play with us!
2007 Apr 09
0
OT: But telephony related and funny
Want to speak French? Just pick up the phone
<http://r.smartbrief.com/resp/gChsiHrfsXpnbACibucXDiJM>
A new mobile-phone service provides users with pictures of fictitious
lovers, and even fake conversations that let you pretend you're speaking
French. "So many people make fake phone calls to impress others, I
thought I'd make it easier, with better material," Mobile Faker
2009 Oct 04
2
Expire Plugin Configuration Question
I am very confused looking at the expires plugin and its configuration.
What is confusing me the most is that it appears that I have to
configure expiration globally, meaning, for example, that the Trash
mailbox expiration interval is the same regardless of the user. What I
really am looking for is per-user configurable rules. Those would
obviously not be able to be in a file configuration
2013 Nov 20
0
Drac for dovecot 2.2
Hi folks.
I thought that i should publish and announce that i ported the
dovecot2-drac plugin to be usable with dovecot 2.2 and Debian patched
drac for IPv6.
The patches can be found at:
https://github.com/glance-/dovecot2-drac
//Anton
--
Anton Lundin
2013 Dec 12
0
Dovecot as caching proxy
Hi.
I'm bin playing around with dovecot to try to setup it as a caching
imap proxy.
I manged to get dovecot to use both proxy=y and imapc: connections to
the master server, but i haven't manged to get dovecot to cache any
mails.
The remote imap server is a quite hostile one, that i don't have any
super/master user access to, and it only exposes imap.
I've used tried both with