<    March 2010    >
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
00:24 tildeequals joined
00:28 SiaCo joined
00:51 svenfuchs joined
01:04 aslakhellesoy joined
01:15 ashley_moran joined
01:18 mfojtik left
01:36 danlucraft joined
01:42 pdelgallego joined
01:50 Lazygekko_ joined
02:18 jxie joined
02:18 robholland joined
02:18 robholland joined
02:24 Flydoire|Taktik joined
02:41 werdnativ joined
03:01 Flydoire|Taktik_ joined
03:07 mattwynne joined
03:12 danlucraft joined
03:22 josephwilk joined
03:24 mattwynne joined
03:31 tils joined
04:12 robholland joined
04:12 robholland joined
04:17 mattwynne joined
04:40 jschoolcraft joined
04:45 aslakhellesoy joined
04:49 lmarburger joined
04:50 joshkalderimis joined
05:00 Lazygekko_ joined
05:11 jhenderson joined
05:28 robholland joined
05:28 robholland joined
05:30 anteaya joined
05:32 donaldball joined
05:33 robholland1 joined
05:39 Lazygekko_ joined
05:53 benlovell joined
05:54 robholland joined
06:31 jxie joined
06:37 h joined
06:54 benlovell joined
07:12 FabianB_ joined
07:51 pdelgallego joined
07:53 imajes joined
07:58 camwest joined
08:02 anteaya joined
08:20 lmarburger joined
08:32 donaldball joined
08:43 Flydoire|Taktik left
08:45 oddmunds joined
08:49 chromano joined
08:56 imajes joined
09:11 ekidd joined
09:12 <ekidd> Good morning! I'm trying to test a very complicated client-side GUI in an idiomatic Cucumber fashion.
09:12 <ekidd> I want to write things like "When I press tab"
09:13 <ekidd> But I don't want to keep specifying really arcane Selenium locators.
09:16 jeanmartin joined
09:18 lmarburger joined
09:20 werdnativ joined
09:38 mattwynne joined
09:44 imajes joined
09:44 pdelgallego joined
09:58 aslakhellesoy joined
10:03 tils left
10:09 josephwilk joined
10:13 donaldball joined
10:24 lucasbz joined
10:25 mattwynne joined
10:39 pdelgallego joined
11:09 textarcana joined
11:15 irclogger_com joined
11:15 Topic for
11:17 dastels joined
11:28 SiaCo joined
11:33 josephwilk joined
11:50 svenfuchs joined
11:57 tils joined
12:01 fcoury joined
12:05 ekidd joined
12:34 lmarburger joined
12:36 boodle joined
12:55 mrkurt joined
13:01 Kero joined
13:24 mikepence joined
13:29 pojo joined
13:30 <pojo> hey. how can I set the http_referrer header in cucumber?
13:31 <pojo> it suggests request.env["HTTP_REFERRER"] but I'm not entirely sure where to put that.
13:31 <pojo> request is nil in a step definition
13:33 msassak joined
13:47 andreyr joined
13:52 <pojo> apparently I just needed up update capybara to pass http_referrer. it's all good. :)
14:17 charleyb joined
14:23 mattwynne joined
14:49 hakunin joined
14:51 danlucraft joined
15:08 mattwynne joined
15:23 josephwilk joined
15:32 anteaya joined
15:37 ekidd joined
15:48 pdelgallego joined
15:53 bdimcheff joined
16:09 donaldball joined
16:12 imajes joined
16:24 pdelgallego joined
16:41 pdelgallego joined
17:06 donaldball joined
17:07 alberto_pm joined
17:07 pdelgallego joined
17:09 werdnativ joined
17:11 pdelgallego joined
17:29 ekidd_ joined
17:30 pdelgallego joined
17:33 ekidd joined
17:52 jeanmartin joined
17:59 imajes joined
18:21 donaldball joined
19:27 donaldball joined
19:28 imajes joined
20:14 pojo joined
20:14 <pojo> So apparently each scenario deletes the records from the database, but does not reset the id counter for tables. Is there a way to make it reset the db entirely?
20:15 <pojo> when I create objects that depend on eachother, like a photo having a reviewflag object (for flagging objectionable content), I need to know what the id for that photo is to create the flag in the next step.
20:16 <pojo> or is there a better way to approach this?
20:16 <pojo> when I was writing the steps individually, they worked as the ids would always be set at 1.. when I run a bunch of scenarios at once, the id counter increments from one scenario to the next
20:16 <pojo> this breaks my scenarios
20:39 imajes joined
21:54 donaldball joined
22:40 Tenpaiyomi joined
22:41 <Tenpaiyomi> Quick question, I have a line "I should have ([0-9]+) projects" and then Project.count.should == count.to_i, but get an error "undefined method `should' for 1:Fixnum (NoMethodError)"
22:44 <Tenpaiyomi> Nevermind, turns out rspec was not setup properly
23:56 danlucraft joined